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;