Dear Mendix Support Team, We are developing a custom website using Mendix on 9.23.0, and currently facing obstacles that we have tried to find solutions, but couldn`t find it. The website is about making a booking reservation online, where the customer choose a specific date and time, which is the same as booking an airplane or a movie ticket. Our purpose about the booking reservation online are: 1. The date that are not available (whether it is a public holiday, back date, etc) a user could not choose the date, and the colour is light grey 2. The date that are available are in dark grey colour 3. The chosen date is in red colour mockup design - booking system We have tried to install Date Picker, but could not find solutions to achieve those 3 targets. Kindly need your help for the issues. actual result Thank you
asked
Kevin Tedja
2 answers
2
Hi Kevin,
It looks like your requirements are beyond the standard date picker.
The achieve this, you can write your own javascript action and tweak the data picker as you like:
As far as I know the Mendix datepicker does not provide functionality for disabled dates. A solution would be to look for a third party widget on the marketplace or build your own custom widget.