Topic: Datepicker readonly input but can select with icon

IT_Santini priority asked 1 year 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


Michał Duszak staff commented 1 year 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 1 year ago

thank you for your help



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

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