diff --git a/src/app/components/inputnumber/inputnumber.ts b/src/app/components/inputnumber/inputnumber.ts index 315acc83bc0..59ccf1cbc47 100644 --- a/src/app/components/inputnumber/inputnumber.ts +++ b/src/app/components/inputnumber/inputnumber.ts @@ -873,6 +873,8 @@ export class InputNumber implements OnInit, AfterContentInit, OnChanges, Control } else { newValueStr = inputValue.slice(0, selectionStart - 1) + inputValue.slice(selectionStart); } + } else if (this.mode === 'currency' && deleteChar.search(this._currency) != -1) { + newValueStr = inputValue.slice(1); } this.updateValue(event, newValueStr, null, 'delete-single');