F
Filament4mo ago
Travis

BulkAction options based on selected records.

Hey guys! I have a table with the option for bulk actions, when i select for example 3 entries on the action i want to be able to get the ids of the selected records. Is it possible? i have done this:
Select::make('managers_ids')
->label('Pick Ids')
->options(fn (Collection $records) => dd($records))
->searchable()
->multiple(),
Select::make('managers_ids')
->label('Pick Ids')
->options(fn (Collection $records) => dd($records))
->searchable()
->multiple(),
the dd returns 0 items.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server