This commit is contained in:
2026-05-16 23:02:36 +03:30
parent 938baa5833
commit db595708f7
@@ -243,7 +243,7 @@ export class InputComponent {
} }
onInput($event: Event, isPriceFormat?: boolean) { onInput($event: Event, isPriceFormat?: boolean) {
if ((this.inputMode !== 'numeric' && this.inputMode !== 'decimal') || !isPriceFormat) { if (this.type !== 'price' && this.type !== 'number') {
return; return;
} }
const target = $event.target as HTMLInputElement | null; const target = $event.target as HTMLInputElement | null;