You need to sign in to do that
Don't have an account?
Balayesu Chilakalapudi
disable some days in datepicker with slds ui:inputDate
I am using
<ui:inputDate aura:id="dateField" label="Birthday" value="2014-01-30" displayDatePicker="true"/>
I want to allow users to select only 1st of every month and want to disable all otherdays, how can i achieve it with lightning design system
Thanks,
Balayesu
<ui:inputDate aura:id="dateField" label="Birthday" value="2014-01-30" displayDatePicker="true"/>
I want to allow users to select only 1st of every month and want to disable all otherdays, how can i achieve it with lightning design system
Thanks,
Balayesu
Inorder to achieve it with LDS you may need to create whole structure using LDS and use classes Like slds-is-selected to highlight values dynamically.
But most feasible solution would be using <lightning:input type="Date" />
Using input.checkValidity() and input.setCustomValidity you can confirm the correct date chosen.