Howdy! I’m trying to build a component for avatar uploads, and so far I’ve got it done all the way up to submitting the cropped image.
I have a JS package called Croppie that can return a Base64-encoded representation of the cropped image, via the result()
method. How would I tell my Livewire component that I want the image
input to be submitted with this result()
instead of the file upload itself?