I have a datepicker, but it is allowing me to enter any text. I want to disable user from entering text. User should be allowed to select date from the calendar.
This one worked for me (global style for all datepickers):
Be aware: it also sets a custom string format.