Answer the question
In order to leave comments, you need to log in
How to correctly display a widget inside Pjax, for example, a calendar?
There is a button on the form, when you click on it using pjax, instead of the button, a form is displayed to fill out.
There are many input fields on the form, incl. calendar widget. The widget works fine, but if placed inside pjax it doesn't work.
The form is large and rarely used, so displaying it immediately (or rendering and not displaying until the button is pressed) is not practical.
simple button handlerreturn $this->renderAjax('big_form');
Answer the question
In order to leave comments, you need to log in
The form is large and rarely used, so displaying it immediately (or rendering and not displaying until the button is pressed) is not practical.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question