Open civet opened 6 years ago
I define a BasicPicker after DatePicker. When I click on DatePicker, console show error: "No InputElement Specified".
finally I found that they are sharing some objects, such as oElemValid, oInputElemValid so, I think we need deep copies of these objects.
oElemValid
oInputElemValid
temporary I change this line: apo.tmp = $.extend({}, $.AnyPicker.tempDefaults); to apo.tmp = $.extend(true, {}, $.AnyPicker.tempDefaults);
apo.tmp = $.extend({}, $.AnyPicker.tempDefaults);
apo.tmp = $.extend(true, {}, $.AnyPicker.tempDefaults);
I define a BasicPicker after DatePicker. When I click on DatePicker, console show error: "No InputElement Specified".
finally I found that they are sharing some objects, such as
oElemValid
,oInputElemValid
so, I think we need deep copies of these objects.temporary I change this line:
apo.tmp = $.extend({}, $.AnyPicker.tempDefaults);
toapo.tmp = $.extend(true, {}, $.AnyPicker.tempDefaults);