Multiple DateTime Picker on the same page Jquery


Topic: Multiple DateTime Picker on the same page Jquery

ciceron59 free asked 2 years ago

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.

Thanks

        <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>

$('.date-time').dateTimePicker();});


Mateusz Łubianka staff answered 2 years ago

Hi @ciceron59,

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.

Best,


Mateusz Łubianka staff answered 2 years ago

Hi @ciceron59,

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.

Best,


ciceron59 free commented 2 years ago

Thanks for your answer, do you have a release date for this update?


Mateusz Łubianka staff commented 2 years ago

I can't give you a precise date at this time, but I will move this task up the list.

Best,


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
  • 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