Datepicker should have an option to only allow picking dates


Topic: Datepicker should have an option to only allow picking dates without free text input

UNNdev pro premium priority asked 4 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.


UNNdev pro premium priority commented 4 years ago

True, too bad data-mdb-toggle="datepicker" works only on click.


Dawid Wajszczuk staff answered 4 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


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue
  • User: Pro
  • 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: No
  • Provided link: No