diff --git a/ActiveField.php b/ActiveField.php index fd2af7e..b892fdb 100644 --- a/ActiveField.php +++ b/ActiveField.php @@ -356,7 +356,7 @@ class ActiveField extends \yii\widgets\ActiveField $config['horizontalCssClasses'] = $cssClasses; $config['wrapperOptions'] = ['class' => $cssClasses['wrapper']]; $config['labelOptions'] = ['class' => 'control-label ' . $cssClasses['label']]; - $config['errorOptions'] = ['class' => 'help-block ' . $cssClasses['error']]; + $config['errorOptions'] = ['class' => 'help-block help-block-error ' . $cssClasses['error']]; $config['hintOptions'] = ['class' => 'help-block ' . $cssClasses['hint']]; } elseif ($layout === 'inline') { $config['labelOptions'] = ['class' => 'sr-only'];