Can I am using searchable method, in SelectColumn?

In table i am using SelectColumn and using searchable method too. but, search input does'nt appear SelectColumn::make('team_bank_account_id') ->label('Nomor Rekening Tim') ->extraAttributes(['class' => 'text-sm']) ->searchable() ->hidden(fn () => auth()->user()->cannot('update_bank_account_transaction::waiting::transaction')) ->options(function ($record) { $teamBanks = TeamBankAccount::where('team_id', $record->team_id) ->whereState('account_status', Active::class)->get(); return $teamBanks->mapWithKeys(fn ($item) => [$item->id => "{$item->bank->name} - " . \Str::limit($item->account_number . ' ' . "($item->account_holder)", 20)]); }),
2 Replies
Dennis Koch
Dennis Koch17mo ago
I don't think the SelectColumn is searchable
Rizky Anfasa F M
Rizky Anfasa F MOP17mo ago
I think it's better if the SelectColumn can be searchable like Select component, thanks!
Want results from more Discord servers?
Add your server