Skip to content

Commit

Permalink
fixed help-block class
Browse files Browse the repository at this point in the history
  • Loading branch information
worstinme committed Jan 29, 2019
1 parent a1d5a5c commit 98b0581
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ActiveField.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ class ActiveField extends \yii\widgets\ActiveField
*/
public $infoOptions = [];

public $errorOptions = ['class' => 'help-block'];

/**
* {@inheritdoc}
*/
Expand Down Expand Up @@ -84,9 +86,6 @@ protected function createLayoutConfig($instanceConfig)
'hintOptions' => [
'class' => 'uk-form-controls-text',
],
'errorOptions' => [
'class' => 'uk-form-danger',
],
'iconOptions'=>[
'flip' => false, 'uikit' => true,
],
Expand Down

0 comments on commit 98b0581

Please sign in to comment.