-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Description
Single file uploads are working fine.
But multiple file uploads are not.
<label for="doc">Docs</label>
<input type="file" :multiple="true" name="doc[]" id="doc" @input="form.docs = $event.target.files"
class="block shadow rounded-md border border-gray-400 outline-none px-3 py-2 mt-2 w-full" />
<div v-if="form.errors.docs" :class="$style.error">
{{ form.errors.docs.join(', ') }}
</div>
</div>
then my accepted params
params.require(:patient_procedure_result).permit(:notes, :lab_branch_user_id, :patient_procedure_id, images: [])
end
Metadata
Metadata
Assignees
Labels
No labels