© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•16mo ago•
6 replies
Mehmet K.

How can I save data in custom modal?

             Action::make('customModal')
                            ->label('Custom Modal')
                            ->action(fn ($record, $set) => $set('record', $record)) // Custom action
                            ->modalHeading('Custom Modal Başlığı') 
                            ->modalContent(function ($record) {
                          
                                return view('filament.pages.test_modal', ['record' => $record]);
                            })
                    ) 
             Action::make('customModal')
                            ->label('Custom Modal')
                            ->action(fn ($record, $set) => $set('record', $record)) // Custom action
                            ->modalHeading('Custom Modal Başlığı') 
                            ->modalContent(function ($record) {
                          
                                return view('filament.pages.test_modal', ['record' => $record]);
                            })
                    ) 
I send my own record data here, I made changes, for example, how do I save them?
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

Custom page - Data save
FilamentFFilament / ❓┊help
2y ago
How to custom data before save record?
FilamentFFilament / ❓┊help
2y ago
How can I pull the data I saved in the Modal Form?
FilamentFFilament / ❓┊help
2y ago
Modal confirmation before click save button in modal
FilamentFFilament / ❓┊help
15mo ago