Commit a83d6829 by Alexander Makarov

Merge pull request #3759 from tadaszelvys/3740-help-block-error

Fixed duplicate error message when client validation is enabled. Fixes #3740. [skip ci]
parents 886def85 2329af15
...@@ -332,7 +332,7 @@ class ActiveField extends \yii\widgets\ActiveField ...@@ -332,7 +332,7 @@ class ActiveField extends \yii\widgets\ActiveField
], ],
'errorOptions' => [ 'errorOptions' => [
'tag' => 'p', 'tag' => 'p',
'class' => 'help-block', 'class' => 'help-block help-block-error',
], ],
'inputOptions' => [ 'inputOptions' => [
'class' => 'form-control', 'class' => 'form-control',
......
...@@ -5,6 +5,7 @@ Yii Framework 2 bootstrap extension Change Log ...@@ -5,6 +5,7 @@ Yii Framework 2 bootstrap extension Change Log
-------------------------- --------------------------
- Bug #3292: Fixed dropdown widgets rendering incorrect HTML (it3rmit) - Bug #3292: Fixed dropdown widgets rendering incorrect HTML (it3rmit)
- Bug #3740: Fixed duplicate error message when client validation is enabled (tadaszelvys)
- Bug #3749: Fixed invalid plugin registration and ensure clickable links in dropdown (kartik-v) - Bug #3749: Fixed invalid plugin registration and ensure clickable links in dropdown (kartik-v)
- Chg #3036: Upgraded Twitter Bootstrap to 3.1.x (qiangxue) - Chg #3036: Upgraded Twitter Bootstrap to 3.1.x (qiangxue)
......
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