FilamentF
Filament11mo ago
Jesse

[WIZARD] Next and submit button do not change after Wizard\Step becomes visible.

Hi! I am using a Wizard in a
CreateResource
. It has one "general" step, but the other steps are shown based on the selected product.

This is where my problem occurs: When selecting a product, the step appears in the header of the widget, but unfortunately, the "next" button does not show up.

I've added a video demonstrating this issue. As you can see, the submit button ("Aanmaken") remains visible, whereas it should be replaced by the next button ("Volgende").

Am I missing something? Is this not possible at all, or could this be a bug? I'd love to hear your thoughts!
Thanks in advance!
Solution
@ChesterS Lots of tears later, but I found the issue! It appears something is going wrong with the ‘x-show’ property. After changing it to ‘x-bind:class’ everything works fine. I’ve opened a PR to resolve this: https://github.com/filamentphp/filament/pull/15493 Thanks for your help! 🎉
GitHub
… works with hidden Steps
There was a bug with the action buttons in a wizard. When the last step of a wizard was hidden and then becomes visible, the submit button stays visible while it should be...
Was this page helpful?