From 09717f8652e8ca240991d058a73149258ccf999e Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Tue, 27 Jan 2026 21:14:19 +0700 Subject: [PATCH] Remove `autocomplete(false)` from the `location_id` select field and reorder the `$title` property in `ManageSubLocations`. --- .../Master/SubLocations/Pages/ManageSubLocations.php | 4 ++-- .../Resources/Master/SubLocations/SubLocationResource.php | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/Filament/Resources/Master/SubLocations/Pages/ManageSubLocations.php b/app/Filament/Resources/Master/SubLocations/Pages/ManageSubLocations.php index 34ff930..a40c17d 100644 --- a/app/Filament/Resources/Master/SubLocations/Pages/ManageSubLocations.php +++ b/app/Filament/Resources/Master/SubLocations/Pages/ManageSubLocations.php @@ -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 [ diff --git a/app/Filament/Resources/Master/SubLocations/SubLocationResource.php b/app/Filament/Resources/Master/SubLocations/SubLocationResource.php index 2e391eb..85e5cd5 100644 --- a/app/Filament/Resources/Master/SubLocations/SubLocationResource.php +++ b/app/Filament/Resources/Master/SubLocations/SubLocationResource.php @@ -56,7 +56,6 @@ public static function form(Schema $schema): Schema ->native(false) ->required() ->rules(['exists:locations,id']) - ->autocomplete(false) ->autofocus(), TextInput::make('name')