Complete implement of select2 component, and replaced existing use of select2. Also deprecated CustomBlade definitions of select2/simplemde
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
? sprintf('Add a <a href="%s">NEW System"</a>',url('system/addedit'))
|
||||
: sprintf('<a href="%s">Edit</a> System',url('system/addedit',[$o->system_id]));
|
||||
@endphp
|
||||
<x-form.select name="system_id" icon="bi-tag-fill" label="System" feedback="A system is required" placeholder="Select System" :helper="$helper" :required="true" :value="$o->system_id" :options="System::select(['id','name'])->active()->cursor()->map(fn($item,$key)=>['id'=>$item->id,'value'=>$item->name])" />
|
||||
<x-form.select name="system_id" icon="bi-tag-fill" label="System" feedback="A system is required" placeholder="Select System" :helper="$helper" :value="$o->system_id" :options="System::select(['id','name'])->active()->cursor()->map(fn($item)=>['id'=>$item->id,'value'=>$item->name])" required/>
|
||||
</div>
|
||||
|
||||
<!-- System Addresses -->
|
||||
|
Reference in New Issue
Block a user