christhompsontldr
Temporary files are never moved
Tacking on to this. The reason we don't use getState() is because it runs the validations for all steps, so if there are required fields on step 4, but step 1 is being completed, it fails because it's trying to tell the use that a field on step 4 (which they haven't gotten to yet) is required.
18 replies
Temporary files are never moved
Ah, no, we stopped using it because it did something automagical that was breaking our form. I can't remember what, specifically. Ok, switched from getRawState() to getState() and the file upload and moving all works!
Thanks.
18 replies
Temporary files are never moved
I'm confused. What is "the default form submit action?" https://filamentphp.com/docs/3.x/forms/layout/wizard#rendering-a-submit-button-on-the-last-step mentions wiring up a Livewire method to handle form submission, which is what I have done.
18 replies