File Upload without submit

I would like to start uploading file immediately after selecting a file without any “SUBMIT” button.
Is this possible?
something like:
<input type="file" id="miofile">
without any forms and any confirmations button.

Thank you

Use the updatedProperty method for be waiting for any change in the image property

public function updatedMiofile()
{
    dd($this->miofile);
    // here you can store immediately on any change of the property
}

in blade

<input type="file" id="miofile" wire:model="miofile">

It worked like a charm!
Perfect!
I’m really fascinated about the easiness of this solution and the overall easiness of livewire!

Thank you Prospero!

1 Like

Yeaa, it’s really cool. Good codding my friend! :ok_hand: