Fix issue of multiple date pickers attached to a single date input#972
Conversation
|
mattrq, What markup is causing this issue for you? Are you manually building the date pickers with a call to In any case thanks for taking the time to submit this request! |
|
johnbender, I have marked an input field with type "date" which is with-in a dialog. When the dialog opened the first time it had two date picker calendars attached to the input, each time the dialog was reopened a new date picker calendar was appended. The dialog was defined in a html file along with other pages. There are no js interactions attached to this The issue could be indicating that the live event is being triggered to often at JQM level however I have not reviewed the interactions at that level. Bellow is the full markup for the dialogs definition. |
|
mattrq, Wondering if you closed this one by accident? |
|
Appologies, new to the system. I realise that I must have pressed the comment and close button. |
|
Found this post on the JQM Forum, Others are having the same issue |
|
fixed multiple date picker caused by unscoped selector, thanks to Matt Rosenquist. Closed by 37d22dd |
|
Matt, I applied the above patch to fix this issue. It seemed to boil down to a dom scoped selector that needed to be narrowed to the current page that was being enhanced. Thanks for the submission we appreciate the help! |
If there is a date input within a dialog, each time the dialog is shown a new date picker is attached