@props([ 'action_route', 'model_name' => 'asset', 'actions' => null, ]) @aware(['name']) @php $formId = Illuminate\Support\Str::camel($name) . 'Form'; $buttonId = Illuminate\Support\Str::camel($name) . 'Button'; $selectId = Illuminate\Support\Str::camel($name) . 'Select'; @endphp
@csrf {{-- sort/order only used on first-use before cookie is set --}}
{{-- snipeit.js auto-initializes every .select2 with no config, which leaves the search box on. Bulk-action menus never carry more than a handful of options, so the search input just looks awkward. Reinitialize with minimumResultsForSearch: Infinity to suppress the search box for this select regardless of what snipeit.js did first. --}} @push('js') @endpush