M
M
My joy2018-02-19 12:53:56
Yii
My joy, 2018-02-19 12:53:56

Why does Select2 stop working after pjax update gridview?

Hi friends!
There is a filter in gridview through select2. He buzzing works the first time, and after applying the filter, he hangs in the eternal boot. how to reset/revive it?
it looks like this:
69e93b062b40d83d35948.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem, 2018-02-19
@t-alexashka

You need to reinitialize select2 in pjax:after

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question