Commit 2a0797dd by Qiang Xue

Fixes #6266: Clicking on reset button does not hide error summary when using `ActiveForm`

parent e4bcf3ad
......@@ -34,6 +34,7 @@ Yii Framework 2 Change Log
- Bug #6172: `yii\rbac\DbManager` should properly quote table and column names (qiangxue)
- Bug #6164: Added missing support for `yii\db\Expression` to QueryBuilder `BETWEEN` and `LIKE` conditions (cebe)
- Bug #6236: No JS scripts should be registered when `yii\widgets\ActiveForm::enableClientScript` is false (qiangxue)
- Bug #6266: Clicking on reset button does not hide error summary when using `ActiveForm` (InteLigent, qiangxue)
- Bug: Gii console command help information does not contain global options (qiangxue)
- Bug: `yii\web\UrlRule` was unable to create URLs for rules containing unicode characters (samdark)
- Bug: `yii\web\AssetManager` should not publish disabled asset bundles (qiangxue)
......
......@@ -387,7 +387,7 @@
);
$container.find(this.error).html('');
});
$form.find(data.settings.summary).hide().find('ul').html('');
$form.find(data.settings.errorSummary).hide().find('ul').html('');
}, 1);
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment