In the customer editing component, I have a $logo field. This field must be populated by the input file that is in alpinejs. How can I send the selected file in alpinejs (name=“logo”) to the $logo field?
example:
livewire component (edit form)
here:
public $logo;
blade component
<div x-data={}>
<input type="file" name="logo">
</div>
blade component end
livewire component end
thank you all!