Skip to content

Commit 24ddc75

Browse files
committed
fix(textfield): validate on blur only
Remove update on update:modelValue to fix bug preventing typing non integer values in TextField
1 parent 21d9cfe commit 24ddc75

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

vue3-components/src/widgets/TextField/template.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
:name="`${data().type}:${name}:${i}`"
2121
:bg-color="color()"
2222
v-model="model"
23-
@update:modelValue="update()"
2423
:label="label"
2524
:hint="help"
2625
density="compact"
@@ -51,7 +50,6 @@
5150
:name="`${data().type}:${name}:${i}`"
5251
:bg-color="color(i)"
5352
v-model="model[i - 1]"
54-
@update:modelValue="update(i)"
5553
density="compact"
5654
:rules="[rule]"
5755
@update:focused="validate(i)"

0 commit comments

Comments
 (0)