chrispage1
chrispage1
FFilament
Created by chrispage1 on 6/14/2024 in #❓┊help
Multiple dependant fields / clearing on change
Thanks anyway!
4 replies
FFilament
Created by chrispage1 on 6/14/2024 in #❓┊help
Multiple dependant fields / clearing on change
Ah figured it out using afterStateUpdated
Forms\Components\Select::make('series_id')
->afterStateUpdated(function (Forms\Set $set) {
$set('season_id', null);
$set('event_id', null);
$set('session_id', null);
})
->relationship('series', 'name'),
Forms\Components\Select::make('series_id')
->afterStateUpdated(function (Forms\Set $set) {
$set('season_id', null);
$set('event_id', null);
$set('session_id', null);
})
->relationship('series', 'name'),
4 replies
FFilament
Created by chrispage1 on 5/3/2024 in #❓┊help
Callback on resource creation in modal
That's amazing thank you! 🙏 Filament really does have everything, it's just a case of finding it!
6 replies
FFilament
Created by Erwin.van.den.Berg on 5/4/2023 in #❓┊help
Builder blocks with spatie media library field
I've raised a PR that will provide a solution to this - https://github.com/filamentphp/filament/pull/10795 If you're able to give it a thumbs up that'd be great!
16 replies
FFilament
Created by chrispage1 on 1/9/2024 in #❓┊help
Relocating create button to inside my grid structure
No description
5 replies
FFilament
Created by chrispage1 on 1/9/2024 in #❓┊help
Relocating create button to inside my grid structure
@Leandro Ferreira that's brilliant thank you! I've done that and added
protected function getFormActions(): array
{
return [];
}
protected function getFormActions(): array
{
return [];
}
to remove the actions on Create & Edit. Both working nicely 😄
5 replies