Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

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>
 
PREVIOUS NEXT
Tagged: #livewire #file #upload
ADD COMMENT
Topic
Name
9+1 =