Edit Resource - Save Form Pop-Up

Is it possible to add a confirmation pop-up on the save action of an edit resource? I can't find it in the docs.
2 Replies
LeandroFerreira
LeandroFerreira15mo ago
You can override the method on the EditPage
protected function getSaveFormAction(): Action
{
return Action::make('save')
->requiresConfirmation()
->action(fn () => $this->save());
}
protected function getSaveFormAction(): Action
{
return Action::make('save')
->requiresConfirmation()
->action(fn () => $this->save());
}
stijntrinos
stijntrinosOP15mo ago
Thanks! That is what I was looking for
Want results from more Discord servers?
Add your server