© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
7 replies
Mehmet K.

How can I pull the data I saved in the Modal Form?

In this way, after saving the data in the modal form, my wizard process continues, but is there any way to bring the saved data back into the wizard outside the modal form?


I tried to explain in the photos exactly what I wanted to do.
Wizard::make([
                    Wizard\Step::make('Şirketteki Insanlar')
                        ->schema([
                            Actions::make([
                                Action::make('star')
                                    ->icon('heroicon-m-plus')
                                    ->label('Bir Kişi Ekleyin')
                                    ->form([
                                        Wizard::make([
                                            Wizard\Step::make('Hesap Bilgileri')->schema([
                                                TextInput::make('name')->label('Ad'),
                                                TextInput::make('email')->label('mail'),
                                            ]),
                                        ])
                                    ])
                                    ->action(function (array $data, User $user): void {
                                        $user->name=$data['name'];
                                        $user->email=$data['email'];
                                        $user->password=Hash::make('123456');
                                            $user->save();
                                    })
                            ]),
                        ]),
Wizard::make([
                    Wizard\Step::make('Şirketteki Insanlar')
                        ->schema([
                            Actions::make([
                                Action::make('star')
                                    ->icon('heroicon-m-plus')
                                    ->label('Bir Kişi Ekleyin')
                                    ->form([
                                        Wizard::make([
                                            Wizard\Step::make('Hesap Bilgileri')->schema([
                                                TextInput::make('name')->label('Ad'),
                                                TextInput::make('email')->label('mail'),
                                            ]),
                                        ])
                                    ])
                                    ->action(function (array $data, User $user): void {
                                        $user->name=$data['name'];
                                        $user->email=$data['email'];
                                        $user->password=Hash::make('123456');
                                            $user->save();
                                    })
                            ]),
                        ]),
Screenshot_289.png
Screenshot_290.png
Screenshot_291.png
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Modal before form is saved
FilamentFFilament / ❓┊help
2y ago
Refresh Form Data in Modal
FilamentFFilament / ❓┊help
16mo ago
In RelationshipManager modal form, how I can validate Repeater form
FilamentFFilament / ❓┊help
16mo ago
How can I save data in custom modal?
FilamentFFilament / ❓┊help
16mo ago