Create Valid dates option for Date and Date range pickers

It would be great to have option to display in Dates and Date range pickers only available dates.
Oposite option of Invalid dates, so that all dates are disabled except those which are in Data Source.

Original topic: Show only available dates on Date Picker from DB query

Pretty please!

I’m having to use another date picker solution because I need to have only the dates for the chosen trip available to pick. Not having this feature makes the Wappler date picker unusable for me. I would think this would be a fairly common need really. I can’t even think of a good instance where Invalid dates, as it is now, would even be useful.

Thanks.

1 Like

I just discovered that you can use Min and Max available in the Input

image

You just have to make sure that your values are formatted correctly as YYYY-MM-DDThh:mm

image

Also, if you don’t want the seconds to show in the date picker your value needs to be formatted without the seconds.

dmx-bind:value="sc_tripbit_get.data.query.start.formatDate('yyyy-MM-ddThh:mm')"

3 Likes