Timepicker options


Topic: Timepicker options

purchase@cebicon.de pro premium asked 2 months ago

The new timepicker documentation (as of MDB 4.16) lists (almost) the same options as the old one. The old options were set during JS initialization, all fine.

The new options apparently are accepted as html attributes only, but no longer as JS options. This behaviour is completely different from other components (e.g. datepicker) and I now need to clutter my html markup with redundant options for every instance of a timepicker instead of a single initialisation routine in my javascript (basing on a common selector). Not a good idea, IMHO.

What is more: How am I supposed to use the various callbacks (beforeShow, afterDone etc.) now? Please provide an example. Thx.


Grzegorz BujaƄski staff commented 2 months ago

Sorry about that. In fact, it is currently not possible to use callbacks in the new TimePicker. We'll fix it.


Please insert min. 20 characters.
Status

Open

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: jQuery
  • MDB Version: 4.19.0
  • Device: Desktop
  • Browser: Firefox
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No
Tags