Answers for "livewire image upload library"

2

livewire file upload

<form wire:submit.prevent="save">
    <input type="file" wire:model="photo">

    @error('photo') <span class="error">{{ $message }}</span> @enderror

    <button type="submit">Save Photo</button>
</form>
Posted by: Guest on November-17-2020

Browse Popular Code Answers by Language