From 50294d2b8d9280b1b6b2ff8425f5d6d5f875e364 Mon Sep 17 00:00:00 2001 From: hirsch Date: Tue, 8 Feb 2022 14:05:11 +0100 Subject: [PATCH] fix(input): always return the raw value --- packages/components/src/components/form/bal-input/bal-input.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/components/form/bal-input/bal-input.tsx b/packages/components/src/components/form/bal-input/bal-input.tsx index bf44b18c89..c5df7d3fe9 100644 --- a/packages/components/src/components/form/bal-input/bal-input.tsx +++ b/packages/components/src/components/form/bal-input/bal-input.tsx @@ -200,7 +200,7 @@ export class Input implements ComponentInterface, BalConfigObserver { @Watch('value') protected async valueChanged(newValue: string | number | undefined, oldValue: string | number | undefined) { if (this.didInit && !this.hasFocus && newValue !== oldValue) { - this.balChange.emit(this.getFormattedValue()) + this.balChange.emit(this.getRawValue()) } }