Form Wizard not displaying "next" button when conditional steps are added
When conditionally adding steps to the Form Wizard (https://filamentphp.com/docs/3.x/forms/layout/wizard)
The "Next" step action does not respect the conditionals.
As seen in the screen recording the step is conditionally added and is visible as part of the steps across the top of the page but the "Next" button does not appear. It appears that the x-show is not refreshing even though when I have put in a console log within the
isLastStep
function of the resources/views/components/wizard.blade.php
file I can see the value change from true to false.
My understanding is that the x-show
should add/ remove the display:none
from the element depending on the returned value of the isLastStep
function.
Any help would be very appreciated
Example Screen record :
https://www.loom.com/share/fdc84260ecf54f4986bd2add308941ad?sid=c1467688-c341-4813-8d8d-b11f8d995dde0 Replies