Form group readonly and disabled feature added

This commit is contained in:
Cüneyt Şentürk
2020-02-01 18:47:15 +03:00
parent 9cb174f68c
commit 37e10eae8f
29 changed files with 306 additions and 51 deletions

View File

@ -15,6 +15,7 @@
:name="'{{ $name }}'"
:options="{{ json_encode($values) }}"
:value="{{ json_encode(old($name, $selected)) }}"
:multiple="true"
@if (!empty($attributes['collapse']))
@ -33,6 +34,14 @@
@change="{{ $attributes['change'] }}($event)"
@endif
@if (isset($attributes['readonly']))
:readonly="'{{ $attributes['readonly'] }}'"
@endif
@if (isset($attributes['disabled']))
:disabled="'{{ $attributes['disabled'] }}'"
@endif
@if(isset($attributes['v-error-message']))
:form-error="{{ $attributes['v-error-message'] }}"
@else