Topic: Datepicker readonly input but can select with icon

IT_Santini priority asked 11 months 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.)

Michał Duszak staff commented 11 months 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:

IT_Santini priority commented 11 months ago

thank you for your help

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • User: 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