diff --git a/src/app/components/inputotp/inputotp.ts b/src/app/components/inputotp/inputotp.ts index d73be201639..a1a58a3394f 100644 --- a/src/app/components/inputotp/inputotp.ts +++ b/src/app/components/inputotp/inputotp.ts @@ -295,7 +295,7 @@ export class InputOtp implements AfterContentInit { break; default: - if (this.integerOnly && !(event.keyCode >= 48 && event.keyCode <= 57)) { + if (this.integerOnly && !((event.keyCode >= 48 && event.keyCode <= 57) || (event.keyCode >= 96 && event.keyCode <= 105))) { event.preventDefault(); }