jsn1nj4
Change in `afterStateUpdated()` hook for file uploads?
@awcodes seems you're right, it's doing it. Something funky must've been happening when I was trying to organize the snippet below in an instance method.
I've decided to just use a plain closure instead of handing off to a method.
Also had to manually set up state fields as described here: https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component#saving-form-data-to-individual-properties
Now have to figure out why my form fields are apparently not mapping to the model, but this is much bigger progress than I made before.
Thanks!
8 replies
Change in `afterStateUpdated()` hook for file uploads?
If you mean the one from this page, I'll give it a shot and see what I might be missing. Thanks!
https://filamentphp.com/docs/3.x/panels/getting-started#the-demo-project
8 replies