Answer the question
In order to leave comments, you need to log in
How to save panel state in \yii\bootstrap\Collapse::widget widget?
Actually this widget has:
How can this state be stored in the cache, fragment caching is not suitable. content is constantly changing 'contentOptions' => ['class' => 'in']
Answer the question
In order to leave comments, you need to log in
As far as I understand, you need to save the state of the element for a specific user of your system. In this case, I recommend just writing a JS script that will monitor its state and write it to some kind of storage , and when the page is loaded, read the data from the storage and restore the state
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question