From 0fc46760b0090ab92ff6254fa1747e2db4fe6945 Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Mon, 15 Sep 2014 23:24:12 -0400 Subject: [PATCH] Fixes #4905: ActiveForm::$validationDelay doesn't delay after keyrelease when $validateOnType=true --- framework/CHANGELOG.md | 1 + framework/assets/yii.activeForm.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/CHANGELOG.md b/framework/CHANGELOG.md index aa5fec5248..411f740e58 100644 --- a/framework/CHANGELOG.md +++ b/framework/CHANGELOG.md @@ -89,6 +89,7 @@ Yii Framework 2 Change Log - Bug #4755: `yii\test\BaseActiveFixture::unload()` does not clean up the internal cached data (qiangxue) - Bug #4813: Fixed MSSQL schema that was getting incorrect info about constraints (samdark, SerjRamone, o-rey) - Bug #4880: Return value of yii\web\Request::getPrefferedLanguage() was a normalized value instead of a valid language value from the input array (cebe) +- Bug #4905: ActiveForm::$validationDelay doesn't delay after keyrelease when $validateOnType=true (qiangxue) - Bug #4920: `yii\filters\auth\CompositeAuth` should not trigger error as long as one of the methods succeeds (qiangxue) - Bug #4938: When `yii\db\ActiveQuery` is used to build sub-queries, its WHERE clause is not correctly generated (qiangxue) - Bug #4954: MSSQL column comments are not retrieved correctly (SerjRamone) diff --git a/framework/assets/yii.activeForm.js b/framework/assets/yii.activeForm.js index 5a77dcbcc0..98e2aa8933 100644 --- a/framework/assets/yii.activeForm.js +++ b/framework/assets/yii.activeForm.js @@ -451,7 +451,7 @@ } }); methods.validate.call($form); - }, data.settings.validationDelay); + }, attribute.validationDelay); }; /**