Use a plugin https://github.com/nazar-pc/PickMeUp
Bind calendar to input all is well. But how can it be unlinked?
For example, I changed the type of input data (for example, date type is String), and the calendar still remains.
Helps. But when you want to change the type to date - the calendar is already not bound. But for idea of thanks! - nikita.Stracke commented on July 9th 19 at 12:56
Resolved: under the new change of date cause $('#some-input').pickmeup('destroy'); - nikita.Stracke commented on July 9th 19 at 12:59
Please sign in or sign up to write your answer or comment.
$('#some-input').pickmeup('destroy');
- nikita.Stracke commented on July 9th 19 at 12:59