Showing
1 changed file
with
3 additions
and
1 deletions
@@ -41,7 +41,9 @@ | @@ -41,7 +41,9 @@ | ||
41 | const inputType = ref(props.type); | 41 | const inputType = ref(props.type); |
42 | 42 | ||
43 | const getInputValue = computed(() => { | 43 | const getInputValue = computed(() => { |
44 | - const { type, value, toUpperCase } = props; | 44 | + const { type, toUpperCase } = props; |
45 | + let { value } = props; | ||
46 | + if (isNaN(value as number)) value = undefined; | ||
45 | 47 | ||
46 | if (isNullOrUnDef(value)) return value; | 48 | if (isNullOrUnDef(value)) return value; |
47 | 49 |