Replace change event by input event in input fields components - Fixes #273

This commit is contained in:
Bubka 2024-01-17 12:34:41 +01:00
parent 98f711800d
commit b9abcb3d18
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@
:value="modelValue"
:placeholder="placeholder"
v-bind="$attrs"
v-on:change="$emit('update:modelValue', $event.target.value)"
v-on:input="$emit('update:modelValue', $event.target.value)"
:maxlength="maxLength"
/>
</div>

View File

@ -71,7 +71,7 @@
:value="modelValue"
:placeholder="placeholder"
v-bind="$attrs"
v-on:change="$emit('update:modelValue', $event.target.value)"
v-on:input="$emit('update:modelValue', $event.target.value)"
:maxlength="maxLength"
/>
</div>