Wire:change Event in SelectAction #8741
Replies: 1 comment 5 replies
-
public $changeCategory = null;
protected function getHeaderActions(): array
{
return [
SelectAction::make('changeCategory')
->options(ReviewCategory::pluck('name', 'id'))
];
}
public function updatedChangeCategory()
{
$this->setStatusFilter($this->changeCategory);
} |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
gotzsys
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
Is there a way to trigger the wire:change event when selecting an item from a SelectAction? Or do I need to create a custom component?"
Beta Was this translation helpful? Give feedback.
All reactions