Complete implement of select2 component, and replaced existing use of select2. Also deprecated CustomBlade definitions of select2/simplemde
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 43s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m34s
Create Docker Image / Final Docker Image Manifest (push) Successful in 11s

This commit is contained in:
2024-12-06 14:44:19 +11:00
parent e3c45dfd3d
commit e9b5783945
20 changed files with 118 additions and 255 deletions

View File

@@ -78,8 +78,8 @@
<div class="col-4">
@php
$helper = (! $o->system_id)
? sprintf('Add a <a href="%s">NEW System</a>',url('domain/addedit'))
: sprintf('<a href="%s">Edit</a> System',url('domain/addedit',[$o->system_id]));
? 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-laptop-fill" label="System" feedback="A system is required" :helper="sprintf('%s. This system is the primary mailer/tosser responsible for the zone.',$helper)" :value="$o->system_id" :options="System::select(['id','name'])->active()->orderBy('name')->cursor()->map(fn($item)=>['id'=>$item->id,'value'=>$item->name])" required/>
</div>