Skip to content

Commit

Permalink
Adjust field widget classes
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed Dec 22, 2020
1 parent 51db1f3 commit 46fa3ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/params.php
Expand Up @@ -27,9 +27,9 @@

'yiisoft/form' => [
'fieldConfig' => [
'inputCssClass()' => ['form-control input field'],
'inputCssClass()' => ['input field mb-1'],
'labelOptions()' => [['label' => '']],
'errorOptions()' => [['class' => 'help is-danger is-italic']],
'errorOptions()' => [['class' => 'help is-danger has-text-left is-italic mt-0 mb-2']],
'errorCssClass()' => ['is-danger'],
'successCssClass()' => ['is-success'],
],
Expand Down

0 comments on commit 46fa3ed

Please sign in to comment.