F
Filament2w ago
10F

getTableFilterState from a form field

How to get the current filter state from a create form ? I would like to get values from current filter to create a new record. I'm trying to use: Select::make('season_id') ->default(function ($livewire) { $activityId = $livewire->getTableFilterState('activity_filter')['activity_filter_id']; .... in my form shema and I got this error: Method App\Filament\Resources\Registration\RegistrationResource\Pages\CreateRegistration::getTableFilterState does not exist. Any idea ? Thx.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?