1

私のコードにselect2を追加すると。フィールドは期待どおりに機能しません (複数の選択がある場合)。フィールドは大きくなりますが、クリックしても何も起こりません。コンソールにもこのエラーがあります

https://atmospherejs.com/aldeed/autoform-select2

Exception from Tracker afterFlush function:
debug.js:41 TypeError: $s.select2 is not a function
at Template.afSelect2.rendered (autoform-select2.js:126)
at runTemplateHooks (template-extension.js:375)
at templateExtensionMasterHook (template-extension.js:324)
at template.js:116
at Function.Template._withTemplateInstanceFunc (template.js:437)
at fireCallbacks (template.js:112)
at null.<anonymous> (template.js:205)
at view.js:104
at Object.Blaze._withCurrentView (view.js:523)
at view.js:103

どんな助けでも大歓迎です

4

0 に答える 0