How to change wizard submit action text on On the same form for update and create (V4)
Hi
i have a same wizard form in both create and update livewire component like so
Create Component
Update Component
Product Form
2 Replies
This should work π
$schema->getOperation()
will get you the current operation from $schema
Blade:render
second parameter is the data you want to pass into the view
. You can pass your array
in that second parameterif you are using a wizard in the Resource, you should use this trait:
CreatePage
in EditPage you can use
EditRecord\Concerns\HasWizard
Then, you can customize the button: