amsul / pickadate.js

The mobile-friendly, responsive, and lightweight jQuery date & time input picker.
http://amsul.ca/pickadate.js
MIT License
7.7k stars 1.02k forks source link

How to reinitialize the pickadate.js? #1203

Open Avtarsodhi opened 4 years ago

Avtarsodhi commented 4 years ago

Actually i have two datepickers and these are created dynamically. Both have unique id's. Firstly I want to open first date picker with pickadate.js and then after that i want to open another date picker with different disable dates but after selecting date from second date picker with different disable dates the date-picker stucked on it and it is not reinitializing itself when i am selecting the first created date picker and if i click on first date picker input then it opens second picker and also after selecting date the input goes to the second date picker's input.i have also tried picker.stop() and picker.start() on closing the pickadate.js but it is not working. Please provide me the exact solution. Thanks in Advanvce.

DanielRuf commented 4 years ago

Hi @Avtarsodhi,

Thanks for reporting this.

Please provide a working codepen as reproducible testcase so we can see what you tried and check what solutions can be used. If you need help with that please let us know.