Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

maxxxir's avatar

submit button inside form modal is invisible

hi im new to filament , but it's pretty straight forward i have a inline action which opens a modal ... for some reason the submit button inside modal is invisible i can only see the outline shadow ... if i click on it it works

inline action modal

i've tried to play around with button method of the action , but it would effect the inline table link not the modal form button

here is simplified version of my code


        return $table
            ->columns([
                
                Tables\Columns\TextColumn::make('response.status' )->label('status')
                    ->default('pending')
                    ->color(fn(Charge $c)=> !$c->response ?  'warning' : ( $c->response->status == 'completed' ? 'success' : 'danger'))
                    ->icon(fn(Charge $c)=> $c->response ?  'heroicon-o-check-circle' : 'heroicon-o-pause-circle')
                    ->searchable()
                    ->sortable(),
            ])
            ->filters([
                //
            ])
            ->actions([
                Action::make('response')
                    ->label('response')
                    ->icon('heroicon-s-paper-airplane')
                    ->color('secondary')
                    ->form([
                        Forms\Components\Select::make('status')->options([

                            'accept' => 'Accept',
                            'decline' => 'Decline',
                        ])->required(),

                    ])


                    ->action(function ( Action $action ,  Charge $charge) {

                        if($action->getFormData()['status'] == 'accept')
                        {
                            //do stuff
                        }
                        else if($action->getFormData()['status'] == 'decline')
                        {
                           // do stuff 
                        }


                    })
                    ->visible(fn ($record) => !$record->response),
            ]);
0 likes
0 replies

Please or to participate in this conversation.