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

Datepicker with show toast message

Hi, Anyone Help me In datepicker I'm selecting a previous week or current week It will show and we can choose but my requirment is if i want to select the past weeks it will show the toast mess you can't select the past week i don't want to disable the dates in datepicker if anyone know help me
AnkaiahAnkaiah (Salesforce Developers) 
Hi Jaishri,

You can do this by using validation rule instead of lightning component.