Ensuring a new record is saved and created before contents of afterStateUpdated() are executed

I have a file upload that allows for multiple uploads and depends on data in the record assosciated with the upload. I"m unsure how to make sure the resource record is created before any logic is executed inside the stateUpdated function - is there not a way to force this? This only occurs if the user hasn't saved the record before triggering an upload. I'd like to have it cleanly handle this case than force the user to save first.
1 Reply
arnaudsf
arnaudsf3w ago
If you use a custom livewire component, can't you force the refresh ?
Want results from more Discord servers?
Add your server