Skip to content

Commit

Permalink
Merge pull request #12071 from primefaces/issue-12070
Browse files Browse the repository at this point in the history
Fixed #12070 - Pass formattedValue to input event
  • Loading branch information
cetincakiroglu authored Oct 21, 2022
2 parents bebae32 + 86a4e67 commit d734902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/inputnumber/inputnumber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ export class InputNumber implements OnInit,ControlValueAccessor {

handleOnInput(event, currentValue, newValue) {
if (this.isValueChanged(currentValue, newValue)) {
this.onInput.emit({ originalEvent: event, value: newValue });
this.onInput.emit({ originalEvent: event, value: newValue, formattedValue: currentValue });
}
}

Expand Down

0 comments on commit d734902

Please sign in to comment.