Submit button being shown even if it's not the last step
I just set up a brand new project with Filamentphp v3.
I followed the docs -> https://filamentphp.com/docs/3.x/forms/layout/wizard#rendering-a-submit-button-on-the-last-step for setting up a wizard in a Page. The Wizard contains only two steps. I followed the docs but still getting the submit button on the first step. None of the steps are skippable. Anyone having the same issue?
Solution:Jump to solution
My bad, the button being rendered is the button rendered by the Register Filament Page, not the one by the wizard. Sorry, will mark this as solved.
4 Replies
any help here?
Can you paste your Wizard code? I'm using wizards currently and did not have any such problem
->submitAction(new HtmlString(Blade::render(<<<BLADE
<x-filament::button
type="submit"
size="sm"
>
Submit
</x-filament::button>
BLADE)))
Solution
My bad, the button being rendered is the button rendered by the Register Filament Page, not the one by the wizard. Sorry, will mark this as solved.