Skip to main content

New answers tagged

0 votes

How to remove expected date format in lightning-input element?

Use the below in rendered callback to remove that label, html- <lightning-input required type="date" label="Date of Birth" data-field="Date_of_Birth__c" value={value}&...
Oliver Jones's user avatar
0 votes

lightning-input type date, hide date format below the field

using a selector like this in your css will still allow regular errors to be displayed as the data-date-format attribute gets replaced when an error needs to be displayed. [data-date-format].slds-form-...
Jolly's user avatar
  • 1
2 votes

lightning-input type date, hide date format below the field

You can get rid of the expected date format under the DateTime/Date fields by overriding the CSS using the LoadStyle method as explained below: Step 1: Upload Static Resource Create a ...
Jayanth G's user avatar
  • 131
0 votes

How to remove expected date format in lightning-input element?

You can get rid of the expected date format under the DateTime/Date fields by overriding the CSS using the LoadStyle method as explained below: Step 1: Upload Static Resource Create a ...
Jayanth G's user avatar
  • 131
-1 votes

How to remove expected date format in lightning-input element?

You can hide lightning-datepicker .slds-form-element__help element in styles in static resource and load this file in your component using loadStyle method
Ivan Maiorov's user avatar

Top 50 recent answers are included