diff --git a/packages/primevue/src/inputnumber/InputNumber.vue b/packages/primevue/src/inputnumber/InputNumber.vue index aad82e928..af0026a6c 100755 --- a/packages/primevue/src/inputnumber/InputNumber.vue +++ b/packages/primevue/src/inputnumber/InputNumber.vue @@ -634,7 +634,9 @@ export default { let newValueStr; if (sign.isMinusSign) { - if (selectionStart === 0) { + const value = this.parseValue(inputValue); + + if (selectionStart === 0 || value === 0) { newValueStr = inputValue; if (minusCharIndex === -1 || selectionEnd !== 0) {