How to give access to select date by user and disable entering of date in date field

Hi , How to make a user to select the Date from datePicker only and disable user to enter the date manually. How to do in mendix .
1 answers

Since there is no parameter setting for that in the interface of the Mendix date picker, this can only be done by creating your own widget. But even then it will be difficult because as soon as you disable the date field the date picker also becomes disabled.

Best solution is to separate the date picker into your current date picker where you only show the button by giving it the width of the button and place it at the right side of a non-editable textfield that shows the same date-attribute as a string.