Hi all,
I have a problem when i use bootstrap select. Its conflict with mootools-core. Has anyone encountered this problem and solutions? Plz help me. Thanks!
I'm closing this issue because it lacks proper information. It also doesn't sound like a bug report but more like a support request, which should be directed at the forums, google groups or stackexchange.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-08-19 13:15:07 |
Labels |
Added:
?
|
It's clear that bootstrap-select doesn't work at all with MooTools core.
Just import MooTools in any bootstrap-select example script <head>
and you'll see:
<script type="text/javascript" src="MooTools-Core-1.6.0-compat.js"></script>
<script type="text/javascript" src="MooTools-More-1.6.0-compat.js"></script>
MooTools core rewrites Element.implement({hide: function()
. We can still overwrite it again.
However, it also rewrites Element.Event
which clearly conflicts with bootstrap-select $.fn.triggerNative = function (eventName)
that badly tries to play with MooTools events.
Well, I give up with this. MooTools is the issue.
There is no "Bootstrap select". Maybe you're talking about the "Chosen" select?
I'm speaking of bootstrap-select and Google brought me here. Isn't Joomla using this module?
Btw, I'm not totally done with it. For people having issues with MooTools, don't use MooTools compatibility version! Unlike its name suggests, it's not compatible with third-party libraries. It's made to be backward compatible, like before MooTools resolved conflicts with third-party libraries.
Nope, Joomla core doesn't use this one. It uses https://harvesthq.github.io/chosen/.
With the amount of information or to be more accurate the complete lack of information it is impossible to help you