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
I'm trying to use chosen-order in my webpack app, I installed it like so: yarn add https://github.com/tristanjahier/chosen-order.git
which worked, but then when importing it and trying to use it in my code: import 'chosen-order/dist/chosen.order.jquery.min.js'
using it: $("#"+thisID).setSelectionOrder(vals)
This error shows up: Uncaught ReferenceError: ChosenOrder is not defined at jQuery.fn.init.setSelectionOrder (chosen.order.jquery.min.js:2) at Object.<anonymous> (populate-select.js:86) at fire (jquery.js:3291) at Object.fireWith [as resolveWith] (jquery.js:3421) at done (jquery.js:9533) at XMLHttpRequest.<anonymous> (jquery.js:9785)
Thank you so much for your help
The text was updated successfully, but these errors were encountered:
I'm trying to use chosen-order in my webpack app, I installed it like so:
yarn add https://github.com/tristanjahier/chosen-order.git
which worked, but then when importing it and trying to use it in my code:
import 'chosen-order/dist/chosen.order.jquery.min.js'
using it:
$("#"+thisID).setSelectionOrder(vals)
This error shows up:
Uncaught ReferenceError: ChosenOrder is not defined at jQuery.fn.init.setSelectionOrder (chosen.order.jquery.min.js:2) at Object.<anonymous> (populate-select.js:86) at fire (jquery.js:3291) at Object.fireWith [as resolveWith] (jquery.js:3421) at done (jquery.js:9533) at XMLHttpRequest.<anonymous> (jquery.js:9785)
Thank you so much for your help
The text was updated successfully, but these errors were encountered: