More control over ActiveForm widget
More control over ActiveForm widget

If part of a form is rendered separately (e.g. in ajax request), it's not easy to apply JS validation to it.
By moving JS registration to a separate method this problem could be solved much more easier.
yiisoft/yii2-framework,yiisoft/yii2-framework