Topic: Timepicker options
purchase@cebicon.de asked 4 years 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.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.19.0
- Device: Desktop
- Browser: Firefox
- OS: Windows 10
- Provided sample code: No
- Provided link: No
Grzegorz Bujański staff commented 4 years ago
Sorry about that. In fact, it is currently not possible to use callbacks in the new TimePicker. We'll fix it.