Skip to content

Commit

Permalink
feature: pass the name of the input in the event. (#511)
Browse files Browse the repository at this point in the history
  • Loading branch information
diasbruno authored Feb 25, 2020
1 parent f7ab0c4 commit 2d91989
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Cleave.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ Cleave.prototype = {

pps.onValueChanged.call(owner, {
target: {
name: owner.element.name,
value: pps.result,
rawValue: owner.getRawValue()
}
Expand Down

0 comments on commit 2d91989

Please sign in to comment.