A
A
AndyDino2017-08-20 17:20:36
Yii
AndyDino, 2017-08-20 17:20:36

Why is Select2 multiple not working in ActiveForm?

Good day! I connect the Select2 plugin to my project, and I ran into such a problem, multiple does not work in ActiveForm. At what without ActiveForm everything works correctly. I installed the version of the plugin from Kartik-v, the same multiple does not work, just a text field in which all the options go in order. Can you tell me what could be the problem and how to fix it? Thanks a lot!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AndyDino, 2017-09-21
@AndyDino

The problem was resolved after all, without exception, styles and scripts were connected through the AppAsset file, before that I connected several scripts on the page with the defer attribute.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question