-
Can set class attribute in array. (#521)
released this
2018-05-30 11:09:07 -05:00 | 81 commits to 7.x since this releaseIn case of you want to add class by condition.
Form::text('name', null, ['class' => [ 'form-control-, $error ? 'is-invalid' : '', ]]);Downloads