© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
4 replies
Rawand Jabar

Modal Action not work

  ->extraModalFooterActions([
                            Action::make('250dinar')
                                ->label('250 Dinar')
                                ->extraAttributes(['class' => 'w-1/2 !h-full'])
                                ->action(function (Get $get, Set $set) {
                                    $this->updatePaidAndPayback($get, $set, 250);
                                }),
                            Action::make('500dinar')
                                ->label('500 Dinar')
                                ->action(function (Get $get, Set $set) {
                                    $this->updatePaidAndPayback($get, $set, 500);
                                }),
                            Action::make('1hazar')
                                ->label('1 Hazar')
                                ->action(function (Get $get, Set $set) {
                                    $this->updatePaidAndPayback($get, $set, 1000);
                                }),
                            Action::make('5hazar')
                                ->label('5 Hazar')
                                ->action(function (Get $get, Set $set) {
                                    $this->updatePaidAndPayback($get, $set, 5000);
                                }),
                            Action::make('10hazar')
                                ->label('10 Hazar')
                                ->action(function (Get $get, Set $set) {
                                    $this->updatePaidAndPayback($get, $set, 10000);
                                }),
                        ])
  ->extraModalFooterActions([
                            Action::make('250dinar')
                                ->label('250 Dinar')
                                ->extraAttributes(['class' => 'w-1/2 !h-full'])
                                ->action(function (Get $get, Set $set) {
                                    $this->updatePaidAndPayback($get, $set, 250);
                                }),
                            Action::make('500dinar')
                                ->label('500 Dinar')
                                ->action(function (Get $get, Set $set) {
                                    $this->updatePaidAndPayback($get, $set, 500);
                                }),
                            Action::make('1hazar')
                                ->label('1 Hazar')
                                ->action(function (Get $get, Set $set) {
                                    $this->updatePaidAndPayback($get, $set, 1000);
                                }),
                            Action::make('5hazar')
                                ->label('5 Hazar')
                                ->action(function (Get $get, Set $set) {
                                    $this->updatePaidAndPayback($get, $set, 5000);
                                }),
                            Action::make('10hazar')
                                ->label('10 Hazar')
                                ->action(function (Get $get, Set $set) {
                                    $this->updatePaidAndPayback($get, $set, 10000);
                                }),
                        ])




My main issue is this error

Typed property Filament\Forms\Components\Actions\Action::$component must not be accessed before initialization

i don't know what to do
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

Action modal not opening
FilamentFFilament / ❓┊help
3y ago
Modal action
FilamentFFilament / ❓┊help
2y ago
Table action modal freezes and searchable does not work
FilamentFFilament / ❓┊help
17mo ago
Widget Action not opening modal
FilamentFFilament / ❓┊help
3w ago