mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-22 01:30:23 +08:00
removed validated toggling in yii.activeForm after the form validates successfully.
This commit is contained in:
@@ -128,7 +128,6 @@
|
|||||||
data = $form.data('yiiActiveForm');
|
data = $form.data('yiiActiveForm');
|
||||||
if (data.validated) {
|
if (data.validated) {
|
||||||
// continue submitting the form since validation passes
|
// continue submitting the form since validation passes
|
||||||
data.validated = false;
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user