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.)

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:

IT_Santini priority commented 2 years 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

  • 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