material icon indicating copy to clipboard operation
material copied to clipboard

Date Picker

Open gaurav2103 opened this issue 3 years ago • 1 comments

How can I implement the date picker to select only 1-year date range from any particular date when I have two date pickers one is the start date another is end date, for example, i have selected 01-01-2019 as the start date then I can only select end date up to 01-01-2020.

image For reference

gaurav2103 avatar Jul 01 '21 18:07 gaurav2103

Hi, it is wise to use flatpickr: https://flatpickr.js.org/examples/

https://djibe.github.io/material/docs/4.6/plugins/picker-flatpickr/

djibe avatar Jul 05 '21 07:07 djibe