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);
                                }),
                        ])




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
Was this page helpful?