Filament Wizard Step change from visible to hidden error

I created a Wizard form with 7 Steps. The fourth step has a visible() condition. While filling the form, the condition result can change from true to false. If that happens, I get the last step rendered in the next step after clicking on "next". Does anyone know this error/how to fix? Its pretty strange, and i think its because the wizard is not made for such a visibility change while filling the form. Maybe there is a workaround?
Solution:
Fixed this with a workaround, where i hide the last step via setTimeout(function () {document.getElementById("checkout").classList.add("hidden"); }, 0); when the hidden step gets visible...
Jump to solution
2 Replies
Atreides
Atreides2mo ago
bump
Solution
Atreides
Atreides2mo ago
Fixed this with a workaround, where i hide the last step via setTimeout(function () {document.getElementById("checkout").classList.add("hidden"); }, 0); when the hidden step gets visible
Want results from more Discord servers?
Add your server