select2 conflict
-
I use select2 on my product pages.
With your plugin loaded, it loads your version of select2 instead of mine and then I get an error from your version of select2
“InvalidCharacterError: String contains an invalid character” in
select2.min.js
Your select2 file is from here:
https://cdn.jsdelivr.net/npm/[email protected]/dist/js/select2.min.js
Why are you using a beta version of select2?
If I comment out line 100, in
wp-content\plugins\waitlist-woocommerce\xoo-form-fields-fw\includes\class-xoo-aff.php
So that your plugin doesn’t enqueue select2, then everything works fine.Are you able to keep your version of select2 separate?
I’m actually using the version of select2 that comes with woocommerce. Since your plugin requires woocommerce to run, could you not use the version of select2 that comes with woocommerce as well?
I will be purchasing the full version if I can get the bugs sorted out in the free version. Thanks
- The topic ‘select2 conflict’ is closed to new replies.