Skip to content

Commit

Permalink
fix(input): always return the raw value
Browse files Browse the repository at this point in the history
  • Loading branch information
hirsch88 committed Feb 8, 2022
1 parent 3f3f375 commit 50294d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
}

Expand Down

0 comments on commit 50294d2

Please sign in to comment.