Added searchable method for plant_id column on resource #496

Merged
jothi merged 1 commits from ranjith-dev into master 2026-03-26 05:34:28 +00:00
Showing only changes of commit 5d0004160c - Show all commits

View File

@@ -53,6 +53,7 @@ class ItemResource extends Resource
->required() ->required()
// ->preload() // ->preload()
// ->nullable(), // ->nullable(),
->searchable()
->reactive() ->reactive()
->options(function (callable $get) { ->options(function (callable $get) {
$userHas = Filament::auth()->user()->plant_id; $userHas = Filament::auth()->user()->plant_id;