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
|
class ManageSubLocations extends ManageRecords
|
||||||
{
|
{
|
||||||
protected static ?string $title = 'Sub Lokus';
|
|
||||||
|
|
||||||
protected static string $resource = SubLocationResource::class;
|
protected static string $resource = SubLocationResource::class;
|
||||||
|
|
||||||
|
protected static ?string $title = 'Sub Lokus';
|
||||||
|
|
||||||
protected function getHeaderActions(): array
|
protected function getHeaderActions(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
|||||||
@ -56,7 +56,6 @@ public static function form(Schema $schema): Schema
|
|||||||
->native(false)
|
->native(false)
|
||||||
->required()
|
->required()
|
||||||
->rules(['exists:locations,id'])
|
->rules(['exists:locations,id'])
|
||||||
->autocomplete(false)
|
|
||||||
->autofocus(),
|
->autofocus(),
|
||||||
|
|
||||||
TextInput::make('name')
|
TextInput::make('name')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user