Hello,
I need to limit a date input field to specific days of the week and can’t seem to see a way to do this.
It looks like the Custom/Invalid dates require a server connect so it looks like that won’t work.
For example, my date field should only allow Mondays to be picked.
sid
2
Hi,
I don’t think such an option is configurable on the client side.
A solution I can think of, off the top of my head:
- Create a server action with custom query and start/end date as params.
- In custom query, use sql to fetch dates between given params which are Mondays.
- Then use this as source for allowed dates.