© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•10mo ago•
6 replies
Haydra

Nested Actions, Parent Form validation

Hi guys
i have this scenario
parent modal has form and submit is through custom action button which opens another modal, the parent form must be validated before moving to the child modal
->modalFooterActions(function($record){

// child actions
                            return [
                                Action::make('send_request')
                                    ->label(__('actions')['user-new-request-label'])
                                    ->modalSubmitAction()
                                    ->form(function($livewire, Action $action) use ($record){
                                        $requestData = $livewire->mountedTableActionsData[0];
                                        return [
                                            Placeholder::make('notes')
                                                ->label('Notes')
                                                ->content(function(){
                                                    return "notes";
                                                })
                                        ];
                                    })
->modalFooterActions(function($record){

// child actions
                            return [
                                Action::make('send_request')
                                    ->label(__('actions')['user-new-request-label'])
                                    ->modalSubmitAction()
                                    ->form(function($livewire, Action $action) use ($record){
                                        $requestData = $livewire->mountedTableActionsData[0];
                                        return [
                                            Placeholder::make('notes')
                                                ->label('Notes')
                                                ->content(function(){
                                                    return "notes";
                                                })
                                        ];
                                    })


any help would appreciated, thanks
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

Get Nested Parent
FilamentFFilament / ❓┊help
6mo ago
Form validation
FilamentFFilament / ❓┊help
3y ago
How to call parent record in a nested form?
FilamentFFilament / ❓┊help
6mo ago
Nested page (parent page)
FilamentFFilament / ❓┊help
3y ago