How can I make my form action show a confirmation modal?
I have a form with a delete action. I want it to fire the doDelete() method when clicked. But I want a confirmation modal to show first. However the code below doesn't seem to work. When I click the button nothing shows.
If I take out the ->requiresConfirmation() then the doDelete() method is fired fine.
2 Replies
Solution
Did you add
<x-filament-actions::modals />
in the view?π This guy is a legend!