Topic: Multiple DateTime Picker on the same page Jquery
I am trying to have multiple date-time picker on the same page,
First input works well, but the second show only timepicker, datepicker doesn't show up.Could you please help me, see my code below.
<div class="md-form mb-5"> <input placeholder="Date and Time" id="order2" type="text" data-open="picker3" class="form-control date-time picker-opener validate"> <input placeholder="Selected date" type="text" id="picker3" class="datepicker form-control time-date-ghost"> <input placeholder="Selected time" data-open="picker3" type="text" class="form-control timepicker time-date-ghost"> </div>
I checked this issue and it works fine. There is a little issue with example in our docs, and in info about using. I created a snippet with correct using: https://mdbootstrap.com/snippets/jquery/mateusz-lubianka/1877753?action=forum_snippet I also edited the docs about Date and Time Picker so it should not be a problem in the future.
You're right, there is a bug with DateTime. I created a task with this issue and our team will fix it as soon as possible. Thank you for reporting this problem.
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.13.0
- Device: Computer
- Browser: Firefox and Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No