Added ability to mark fields as disabled
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
'type' => 'text',
|
||||
'placeholder' => null,
|
||||
'maxlength' => 191,
|
||||
'disabled' => false,
|
||||
])
|
||||
|
||||
<div {{ $attributes->merge(['class' => 'form-group']) }}>
|
||||
@@ -42,6 +43,7 @@
|
||||
:value="old($name, $item->{$name})"
|
||||
:$type
|
||||
:$maxlength
|
||||
:$disabled
|
||||
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user