@use('App\Models\Company', 'Company') @use('Illuminate\Support\Arr', 'Arr') {{-- onlyTopLevel / excludeId power the parent-company picker: the first disables sub-companies (they can't themselves become parents), the second hides the company being edited (so it can't be selected as its own parent). Both are read as data-* attributes by the js-data-ajax initializer in snipeit.js and forwarded to the /api/v1/companies/selectlist endpoint. --}} @props([ 'label', 'name', 'selected' => null, 'required' => false, 'multiple' => false, 'hideNewButton' => false, 'onlyTopLevel' => false, 'excludeId' => null, ])