© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•13mo ago•
3 replies
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.
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Display "preview" from Form field?
FilamentFFilament / ❓┊help
3y ago
Set other form fields from within a Livewire component as field
FilamentFFilament / ❓┊help
2y ago
Hydrating a form field from an appended attribute
FilamentFFilament / ❓┊help
3y ago
Set form field value from outside the form
FilamentFFilament / ❓┊help
3y ago