Remove autocomplete(false) from the location_id select field and reorder the $title property in ManageSubLocations.
This commit is contained in:
parent
d8cf50ce1f
commit
09717f8652
@ -9,10 +9,10 @@
|
||||
|
||||
class ManageSubLocations extends ManageRecords
|
||||
{
|
||||
protected static ?string $title = 'Sub Lokus';
|
||||
|
||||
protected static string $resource = SubLocationResource::class;
|
||||
|
||||
protected static ?string $title = 'Sub Lokus';
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
|
||||
@ -56,7 +56,6 @@ public static function form(Schema $schema): Schema
|
||||
->native(false)
|
||||
->required()
|
||||
->rules(['exists:locations,id'])
|
||||
->autocomplete(false)
|
||||
->autofocus(),
|
||||
|
||||
TextInput::make('name')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user