No action on Submit on the last step of Wizard Step
I am using the
HasWizard
trait on the CreateRecord
of a resource and after completing all the validations and entering all the fields of form on the Wizard Steps, the Submit button does nothing. No network calls as well. Do I need to do anything specific to create the record on the resource?10 Replies
How did you define the submit button?
There has just been some wizard work done in the release today, did you upgrade today?
can you run php artisan about
and see what filament version is shown
when using the
HasWizard
trait, the Create button is automatically added. https://filamentphp.com/docs/3.x/panels/resources/creating-records#using-a-wizardlet me try to update and see
i am now on 3.3.8, let me try it again
It sure is, but actually you can hide it and add your own hence why I checked.
So I would say look back on the steps. I am guessing some validation is failing.
went back on all the steps. don't have any special validations except for required
ya, nothing. still can't seem to get it to work
So required would prevent it submitting if it's not filled out without a browser request.
Can you provide a reproduction repo so I can test?
its just that it has multiple relations, so not sure if I would be able to get a reproduction repo, but let me see if there is anything else causing this issue. Clicking the
Create
button on the last step doesn't have a network call at all. But I checked the web console and see this error.
and here is the code for the field
orderDates

ok, it looks like disabled
minutesStep(25)
fixed the error log and the last step actionGreat