F
Filament2d ago
Abi

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
toeknee
toeknee2d ago
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
Abi
AbiOP2d ago
Abi
AbiOP2d ago
let me try to update and see i am now on 3.3.8, let me try it again
toeknee
toeknee2d ago
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.
Abi
AbiOP2d ago
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
toeknee
toeknee2d ago
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?
Abi
AbiOP2d ago
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.
No description
Abi
AbiOP2d ago
and here is the code for the field orderDates
No description
Abi
AbiOP2d ago
ok, it looks like disabled minutesStep(25) fixed the error log and the last step action
toeknee
toeknee2d ago
Great

Did you find this page helpful?