Topic: MDBootstrap 5 datetime picker - setting values using options does not work
Expected behavior Ability to create a datetimepicker with min and max dates, and incremented times at 5 minutes
Actual behavior Implementing via javascript shows the datetime popup but no dates can be selected. Implementing it without javascript works but does not provide the ability to set min/max dates or incremented times, as Js is required.
Resources (screenshots, code snippets etc.) https://mdbootstrap.com/snippets/standard/softcon/3272723#html-tab-view
Michał Duszak staff answered 3 years ago
It does, you can only choose from August 20 up to August 30. Also minutes are incremented every five minutes.
softcon pro premium commented 3 years ago
I see, sorry, I had to navigate back to August to see the dates section
Michał Duszak staff answered 3 years ago
Here is a working example made from your snippet:
min
and max
should be in valid date formats.
https://mdbootstrap.com/snippets/standard/m-duszak/3274560
softcon pro premium answered 3 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Pro
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 3.9.0
- Device: Pc
- Browser: All
- OS: Windows
- Provided sample code: No
- Provided link: Yes