From db595708f791fb83ef3034afd907a66af19a1686 Mon Sep 17 00:00:00 2001 From: ahasani194 Date: Sat, 16 May 2026 23:02:36 +0330 Subject: [PATCH] update --- src/app/shared/components/input/input.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/shared/components/input/input.component.ts b/src/app/shared/components/input/input.component.ts index 54b5fb5..b3a1902 100644 --- a/src/app/shared/components/input/input.component.ts +++ b/src/app/shared/components/input/input.component.ts @@ -243,7 +243,7 @@ export class InputComponent { } onInput($event: Event, isPriceFormat?: boolean) { - if ((this.inputMode !== 'numeric' && this.inputMode !== 'decimal') || !isPriceFormat) { + if (this.type !== 'price' && this.type !== 'number') { return; } const target = $event.target as HTMLInputElement | null;