DatePicker First of the Month only

For the datepicker field, anyone tried limit the selection to only the first day of any month?
7 Replies
awcodes
awcodes2mo ago
Why not just do a monthly select since you know it can only be the 1st?
Mark Chaney
Mark Chaney2mo ago
Thought about that, but then would be weird if you needed it to be a long range in years
awcodes
awcodes2mo ago
How are they going to select a multi year range anyway?
Mark Chaney
Mark Chaney2mo ago
not a range, but simply picking a date from any month
awcodes
awcodes2mo ago
But you said they could only choose the 1st. So then just have a start month and an end month select. It’s going to be a lot easier. Haven’t tried it but might be possible to disable the days in the non native picker.
Mark Chaney
Mark Chaney2mo ago
not sure where you keep getting two dates from. Its simply going to be a the 1st of any month of an year. single field. End result would be storing 04/01/2024 or 12/01/2030, etc
awcodes
awcodes2mo ago
I just don’t recall ever seeing a date picker even outside filament that is a month / year range. You could still use two selects one for month and one for year and store them on a single field. Just did something similar for a day and time that had to be separate fields in the form.