Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: MDBootstrap 5 datetime picker - setting values using options does not work

softcon premium asked 3 years ago


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. datepicker snippet


softcon premium commented 2 years ago

I see, sorry, I had to navigate back to August to see the dates section


softcon premium answered 3 years ago


Thanks but I can't see any difference. It still doesn't work :S


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



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

  • ForumUser: Premium
  • 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