Topic: Datepicker should have an option to only allow picking dates without free text input
UNNdev priority asked 3 years ago
Expected behavior
Have an option to allow only picking dates without the ability to enter a custom text in the input.
Actual behavior
Picking a date is optional, the user can still input a text that is not a date.
Using readonly
on the input is not possible either because the icon becomes unclickable and also the input layout changes to a disabled state.
Dawid Wajszczuk staff answered 3 years ago
Hi,
Thanks for your feedback. I have added this to our ideas list. We will discuss this in our team.
Keep coding,
Dawid
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 3.7.1
- Device: All devices
- Browser: All browsers
- OS: All operating systems
- Provided sample code: Yes
- Provided link: No
UNNdev priority commented 3 years ago
True, too bad
data-mdb-toggle="datepicker"
works only on click.