Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BasicPicker and DatePicker can't work together #30

Open
civet opened this issue May 25, 2018 · 0 comments
Open

BasicPicker and DatePicker can't work together #30

civet opened this issue May 25, 2018 · 0 comments

Comments

@civet
Copy link

civet commented May 25, 2018

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);
to
apo.tmp = $.extend(true, {}, $.AnyPicker.tempDefaults);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant