From 417b09990db648963997387f843143e3fa0dd2ea Mon Sep 17 00:00:00 2001 From: vitaliy-patsay Date: Thu, 20 May 2021 21:47:17 +0300 Subject: [PATCH] IE11 - allow "+" key input with NUM LOCK enabled. event.key equals to "Add" in IE --- .../ngx-intl-tel-input/src/lib/ngx-intl-tel-input.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/ngx-intl-tel-input/src/lib/ngx-intl-tel-input.component.ts b/projects/ngx-intl-tel-input/src/lib/ngx-intl-tel-input.component.ts index 069fa536..def4973f 100644 --- a/projects/ngx-intl-tel-input/src/lib/ngx-intl-tel-input.component.ts +++ b/projects/ngx-intl-tel-input/src/lib/ngx-intl-tel-input.component.ts @@ -316,6 +316,7 @@ export class NgxIntlTelInputComponent implements OnInit, OnChanges { const allowedChars = /[0-9\+\-\(\)\ ]/; const allowedCtrlChars = /[axcv]/; // Allows copy-pasting const allowedOtherKeys = [ + 'Add', 'ArrowLeft', 'ArrowUp', 'ArrowRight',