function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Balayesu ChilakalapudiBalayesu 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
Tintu_BabuTintu_Babu
Hi 
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.