10F
10F
FFilament
Created by 10F on 1/18/2025 in #❓┊help
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.
4 replies
FFilament
Created by 10F on 11/1/2024 in #❓┊help
Shield: RelationManager or ManageRelatedRecords
How to implement permissions on RelationManager or ManageRelatedRecords with shield ? I can see only permissions on resources and pages in the doc.
3 replies