I’ve got 2 file inputs within my component “avatar & banner”.
I’ve also got 2 buttons to act as different states when loading a file is being selected and when its being uploaded.
If I add a file to the banner input, it displays the
Updating... and removes the
Update button as expected.
But when actually start uploading the file my
wire:uploading wire:target="banner" doesnt work as expected. The
Updating... button doesnt appear.
<button wire:loading.remove wire:target="banner" wire:click="updateProfile('banner')" class="primary small">Update</button> <button wire:loading wire:target="banner" class="primary disabled small" disabled>Updating...</button>