Form group readonly and disabled feature added
This commit is contained in:
@ -15,6 +15,7 @@
|
||||
:name="'{{ $name }}'"
|
||||
:options="{{ json_encode($values) }}"
|
||||
:value="'{{ old($name, $selected) }}'"
|
||||
|
||||
:add-new="{{ json_encode([
|
||||
'status' => true,
|
||||
'text' => trans('general.add_new'),
|
||||
@ -47,6 +48,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
|
||||
|
Reference in New Issue
Block a user