Show a Step Wizard for a Simple Resource

How do I show a step wizard for a simple resource? When I try to add trait HasWizard, its form method conflicts with Resource as one has the method as static whereas other doesn't. Is there a way to specify that this resource uses a wizard instead of a form?
3 Replies
toeknee
toeknee2mo ago
Simple resource as in create or edit? for simple that's a modal, so you would tend to do this on the action with -->steps([Step schemas]) otherwise you can use Wizard::make('steps')->schema([Steps]) in the resource form
Gandalf
GandalfOP2mo ago
Yes, I'm referring to a modal. If I include wizard in a form then there are Create and Cancel buttons outside the wizard, which I don't want. I want to show just the wizard with its back, next and create buttons.

Did you find this page helpful?