diff --git a/src/runtime/components/forms/Input.vue b/src/runtime/components/forms/Input.vue index 1cb59530..f9126004 100644 --- a/src/runtime/components/forms/Input.vue +++ b/src/runtime/components/forms/Input.vue @@ -4,13 +4,12 @@ :id="inputId" ref="input" :name="name" - :value="modelValue" :type="type" :required="required" :placeholder="placeholder" :disabled="disabled" :class="inputClass" - v-bind="attrs" + v-bind="type === 'file' ? attrs : { ...attrs, value: modelValue }" @input="onInput" @blur="onBlur" @change="onChange"