F
Filament2mo ago
gg

Is this available Bulk Action form in version 4?

currently,this schema form is not working.
BulkAction::make('gift') ->schema(function (Collection $records) { TextInput::make('name');
Solution:
just upgrade to v 4.02 and it's solved.
Jump to solution
5 Replies
Tieme
Tieme2mo ago
Whats the error you getting?
gg
ggOP2mo ago
nothing happen when click bulk action button. just nothing show
LeandroFerreira
LeandroFerreira2mo ago
weird code, I think bulk action works with something like this
BulkAction::make('gift')
->schema([
TextInput::make('field'),
])
->action(function (array $data, Collection $records) {
dd($data, $records);
}),
BulkAction::make('gift')
->schema([
TextInput::make('field'),
])
->action(function (array $data, Collection $records) {
dd($data, $records);
}),
gg
ggOP2mo ago
yes normal bulk action is woking , but I am trying inside of modal content with livewire page. button -> modal content -> livewire page -> table -> bulk action (not appear schema form)
Solution
gg
gg2mo ago
just upgrade to v 4.02 and it's solved.

Did you find this page helpful?