rigrinev
Problem with a Filament Forms Livewire Component with a SpatieMediaLibraryFileUpload field
I've spent about 4 hours trying to find the Filament solution for this problem. I will use just regular Livewire File upload functionality for now instead. Hopefully the Filament team will provide clear guidance for this in future. Thank you.
10 replies
Problem with a Filament Forms Livewire Component with a SpatieMediaLibraryFileUpload field
I've checked the links you provided. Thank you so much for your research. Just to make sure. I don't have any problems make the Submit button disabled if I have form like this:
the
wire:loading.attr="disabled"
work perfect in this case.
But for the situation where I need to disable the Submit button when a user select a file and it is loading before clicking the submit button . Will your solution with specifying wire:target
work?
What would be the target for the field like SpatieMediaLibraryFileUpload::make('attachments')
, should it be wire:target="attachments"
or wire:target="data.attachments"
?
Thank you10 replies