Send parameters with an event emission in table filters

How can we send parameters with an event emission in table filters, in this case SelectFilter. Is there any available method? Here is the filter: Tables\Filters\SelectFilter::make('conditions') ->options(config('options.conditions')) I want to pass the value to this function: public function updateTableFilters(string $filter, $value): void { $this->tableFilters[$filter]['value'] = $value; } the listeners: protected $listeners = ['filterUpdate' => 'updateTableFilters'];
1 Reply
Dan Harrin
Dan Harrin2y ago
where are you emitting? thats where you would pass the data in
Want results from more Discord servers?
Add your server