Fix firefox being buggy with numbers as value inputs (#7682)

* fix firefox being buggy with numbers as value inputs

* dont show null string in input
This commit is contained in:
Nitwel
2021-08-30 16:23:47 +02:00
committed by GitHub
parent b20048fa06
commit ec1eb9733b

View File

@@ -20,7 +20,7 @@
:max="max"
:step="step"
:disabled="disabled"
:value="modelValue"
:value="modelValue === null ? '' : String(modelValue)"
v-on="listeners"
/>
</slot>