Restrict date selection based on week day

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.

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:

  1. Create a server action with custom query and start/end date as params.
  2. In custom query, use sql to fetch dates between given params which are Mondays.
  3. Then use this as source for allowed dates.