Remove Create and Create another button from wizard form
I have a wizard in a form:
but it still shows the "creat" and "create another" button.
how do i remove those?
13 Replies
anyone?
if you are using a resource, you should do this
https://filamentphp.com/docs/3.x/panels/resources/creating-records#using-a-wizard
i tried using that but couldnt figure it out
What is the issue?
Did you add this in the CreatePage?
yes i have but it wont show anything,
maybe it has something to do with this being in the resource:
would i have to put this in CreatePage or not?
if you create a resource called Record, you should put this in the CreateRecord.php file
is the CreateRecord from Filament or did you create a resource called Record?
from filament
What is the resource name?
CardResource.php
and my create page is called CreateCard.php
yes.. is there in the Pages folder?
yes
'create' => Pages\CreateCard::route('/create')
you should put the HasWizard trait in the CreateCard classIts fixed now, i had
didnt work but changing that to
worked for some reason
thank you