Browse Source

Fixed duplicate error message when client validation is enabled

tags/2.0.0-rc
Tadas Z 11 years ago
parent
commit
844c1ec17e
  1. 2
      ActiveField.php
  2. 1
      CHANGELOG.md

2
ActiveField.php

@ -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',

1
CHANGELOG.md

@ -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)

Loading…
Cancel
Save