From 327eb7a63d30680e411f644894225eb84494a46c Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Wed, 29 Apr 2026 17:24:37 +0530 Subject: [PATCH] Added searchable() method on import invoice --- app/Filament/Resources/InvoiceValidationResource.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Filament/Resources/InvoiceValidationResource.php b/app/Filament/Resources/InvoiceValidationResource.php index f0ea02d..eab23e1 100644 --- a/app/Filament/Resources/InvoiceValidationResource.php +++ b/app/Filament/Resources/InvoiceValidationResource.php @@ -380,6 +380,7 @@ class InvoiceValidationResource extends Resource return ($userHas && strlen($userHas) > 0) ? Plant::where('id', $userHas)->pluck('name', 'id')->toArray() : Plant::orderBy('code')->pluck('name', 'id')->toArray(); }) + ->searchable() ->label('Select Plant') ->required() ->default(function () { @@ -730,6 +731,7 @@ class InvoiceValidationResource extends Resource return ($userHas && strlen($userHas) > 0) ? Plant::where('id', $userHas)->pluck('name', 'id')->toArray() : Plant::orderBy('code')->pluck('name', 'id')->toArray(); }) + ->searchable() ->label('Select Plant') ->required() ->default(function () {