Topic: Datepicker readonly input but can select with icon
IT_Santini priority asked 2 years ago
Expected behavior Disable manually input by user, to prevent unneccesary or unwanted character or invalid date, user must choose from icon provided by datepicker element
Actual behavior Readonly user input but also disabled datepicker.
Resources (screenshots, code snippets etc.) https://mdbootstrap.com/snippets/standard/it_santini/3820270#html-tab-view
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Resolved
Specification of the issue
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 3.11.0
- Device: Laptop
- Browser: Chrome
- OS: Windows 10 64bit
- Provided sample code: No
- Provided link: Yes
Michał Duszak staff commented 2 years ago
You can disable certain events on input, so the user will be left with only the datepicker from the icon. Here is the snippet: https://mdbootstrap.com/snippets/standard/m-duszak/3820399
IT_Santini priority commented 2 years ago
thank you for your help