jtsage / jtsage-datebox

A multi-mode date and time picker for Bootstrap (3&4), jQueryMobile, Foundation, Bulma, FomanticUI, and UIKit (or others)
http://datebox.jtsage.dev/
Other
474 stars 166 forks source link

Incorrect datebox reference while using multiple dateboxes #423

Closed meta-mahesh-chouhan closed 6 years ago

meta-mahesh-chouhan commented 6 years ago

Hi, I have created two input fields with type='datebox' and I am using datebox 4.3.1 with jQuery Mobile 1.4.5 and jQuery 3.2.1. So,it's working fine when i am selecting date for first input field and then for second input field. But as I am choosing date again for first input field. The date is being changed for second input field and also datebox is not being closed. Please have a look http://jsfiddle.net/D2XEn/25/

slavap commented 6 years ago

@meta-mahesh-chouhan This problem is caused by incompatibility between jQuery3+ and jQueryMobile, if you downgrade jQuery to 2.2.4 in your fiddle, then everything works just fine.

jtsage commented 6 years ago

I can't express how much I love closing reports when "it's not my fault" - Thanks @slavap !