New answers tagged lightninginput
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}&...
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-...
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 ...
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 ...
-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
Top 50 recent answers are included
Related Tags
lightninginput × 182lightning-web-components × 78
lightning-aura-components × 70
lightning × 40
javascript × 15
css × 13
lightning-inputfield × 13
slds × 11
validation × 10
aura × 8
apex × 6
inputfield × 6
html × 5
files × 5
lightning-events × 5
lightning-experience × 4
date × 4
regular-expressions × 4
aura-attribute × 4
community × 3
lightning-design-system × 3
lightning-datatable × 3
form × 3
richtextarea × 3
fileupload × 3