SpatieMediaLibrary not uploading files Livewire Component?
Using The interacts with media on the model, and then in the form component we have the standard type of save:
public function save(): void { // Validate the form accordingly $this->form->validate(); $stateData = $this->form->getState();}
public function save(): void { // Validate the form accordingly $this->form->validate(); $stateData = $this->form->getState();}
Looking at the network requests we are having files uploaded to upload-file?expires=3423232342332 any suggestions? Using S3 no errors, not logs. Just no files saved, used to work in V2.
Solution
Double tested, just needed the saveRelationships method added post create.