From a297734bad080af7fbfaa59af0666febcfb610e6 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Wed, 18 Feb 2026 10:48:39 +0530 Subject: [PATCH] Added searchable option for plant_id and line_id --- app/Filament/Resources/ProcessOrderResource.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Filament/Resources/ProcessOrderResource.php b/app/Filament/Resources/ProcessOrderResource.php index 56d34a4..382f232 100644 --- a/app/Filament/Resources/ProcessOrderResource.php +++ b/app/Filament/Resources/ProcessOrderResource.php @@ -49,6 +49,7 @@ class ProcessOrderResource extends Resource ->schema([ Forms\Components\Select::make('plant_id') ->label('Plant') + ->searchable() ->relationship('plant', 'name') ->options(function (callable $get) { $userHas = Filament::auth()->user()->plant_id; @@ -76,6 +77,7 @@ class ProcessOrderResource extends Resource ->required(), Forms\Components\Select::make('line_id') ->label('Line') + ->searchable() ->options(function (callable $get) { $plantId = $get('plant_id'); if (empty($plantId)) {