Skip to content

Commit f4f7d96

Browse files
committed
bug correction
1 parent fd3858c commit f4f7d96

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

vue2-vuetify/src/controls/NumberControlRenderer.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
v-bind="vuetifyProps('v-text-field', { type: 'number' })"
2525
@input="onInputChange"
2626
@focus="isFocused = true"
27-
@blur="onBlur"
27+
@blur="isFocused = false; onBlur()"
2828
></v-text-field>
2929
</v-hover>
3030
</control-wrapper>
@@ -101,7 +101,6 @@ const controlRenderer = defineComponent({
101101
this.onChange(result);
102102
},
103103
onBlur() : void {
104-
isFocused = false
105104
this.inputValue = Number(this.inputValue).toString();
106105
}
107106
toNumberOrString(value: string): number | string {

0 commit comments

Comments
 (0)