close #1453 Fixed: Style problem with date field after validation
This commit is contained in:
@ -9,6 +9,8 @@
|
||||
:form-classes="[{'has-error': form.errors.get('{{ $name }}') }]"
|
||||
@endif
|
||||
|
||||
:group_class="'{{ $group_class }}'"
|
||||
|
||||
icon="fa fa-{{ $icon }}"
|
||||
title="{{ $text }}"
|
||||
placeholder="{{ trans('general.form.select.field', ['field' => $text]) }}"
|
||||
@ -47,6 +49,10 @@
|
||||
@interface="form.{{ $name }} = $event"
|
||||
@endif
|
||||
|
||||
@if (isset($attributes['required']))
|
||||
:required="{{ ($attributes['required']) ? 'true' : 'false' }}"
|
||||
@endif
|
||||
|
||||
@if (isset($attributes['readonly']))
|
||||
:readonly="{{ $attributes['readonly'] }}"
|
||||
@endif
|
||||
|
Reference in New Issue
Block a user