Hiding Create form buttons untill the last step of a Wizard

Hello everyone, im trying to use a wizard to create an item in a resource, but i would like the form buttons like create and create another to only be visible when on the last step of the wizard. I've tried a lot of solutions but none of them seem to work. Anyone got an idea on how to do it?

Thank you in advance!!
Solution
Basically, if you need to hide the form buttons, you can use the HasWizard trait (https://filamentphp.com/docs/3.x/panels/resources/creating-records#using-a-wizard props @Leandro Ferreira) and then create the getSteps function in your record handler class (Create/EditPage). This function returns the steps your wizard has to the form and uses the handleRecordCreation/Update method, if you have overriden it, it uses your logic, or else it uses the default, to display a button on the last step of the wizard to create or save the changes you made to the record. In the end, you don't need to do anything to hide the buttons, as i thought, you just need to let filament handle the form for you with the getSteps function!
Was this page helpful?