F
Filament5mo ago
jey

how to show a modal when press next on wizard step

i have a wizard with many steps and i want to add/remove steps based on user action , this action will be via a modal popup we show at first step when user press next button , when user accept or decline we perform certain actions based on the input any help is appreciated
4 Replies
jey
jeyOP5mo ago
bump bump
Atreides
Atreides5mo ago
i think you should try to work with visible() on the wizard steps, and change the condition-outcome by your modal. But its not that easy. Especially because I have currently a problem, that the Wizard struggles with steps becoming visible from hidden (opposite is okay).
Atreides
Atreides5mo ago
To open a modal in filament form take a look at answer from mickey pearson in this stack overflow thread: https://stackoverflow.com/questions/77869848/opening-a-modal-in-filament-php
Stack Overflow
Opening a modal in Filament PHP
I'm using filament-php framework, and in my Resource page, in a given form, after download is finished, I would like to open a modal. But thus far, I have failed to do so. There is a method
jey
jeyOP5mo ago
i've already did a modal popup using action yes however by using $defaultAction
Want results from more Discord servers?
Add your server