-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
keydown error due to conflict with nya-bootstrap-select plugin #1710
Comments
Possibly fixed now that the keydown event is namespaced? |
Hi @caseyjhol
No, because namespacing of event doesn't affect subscription to I think, that we should re-open this issue. Also, if you want, I can prepare PR for this. |
Fix subscription to .bs-searchbox input events (#1710)
Fix subscription to .bs-searchbox input events (#1710)
Released in v1.13.4! |
I'am using bootstrap-select AND nya-bootstrap-select on the same page. When I press key down when in searchbox of nya-bootstrap-select then keydown event handler from bootstrap-select is raised which leads to error:
Error occurs in following line of keydown handler:
if (that.options.liveSearch) $parent = $this.parent().parent();
it occurs because this
that = $parent.data('this')
Problem probably occurs because control is NOT bootstrap-select - it is nya-bootstrap-select which uses bs-searchbox css style for searchbox and as we can see in bootstrap-select source code, this style is used in selector for keydown handler:
Can you provide fix for this? I think that in code above, selector should be modified to something like this:
The text was updated successfully, but these errors were encountered: