You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A "shown.bs.select" event listener is attached INSIDE the button's click handler, so this gets attached again and again, every time the button is clicked.
A "shown.bs.select" event listener is attached INSIDE the button's click handler, so this gets attached again and again, every time the button is clicked.
https://github.com/silviomoreto/bootstrap-select/blob/56e4f886dc909de82db9327329c2bf0711c7df93/js/bootstrap-select.js#L1062
Debug:
Now start clicking the button several times to open and close the menu and watch the console how many time XXX is printed.
Watching the code I see the event is only removed when the select is required and in invalid state.
The text was updated successfully, but these errors were encountered: