Skip to content

Commit

Permalink
Merge pull request nosir#3 from nosir/Issue-1
Browse files Browse the repository at this point in the history
[Issue-1] Fix setRawValue fail issue
  • Loading branch information
nosir authored Jul 7, 2016
2 parents 5b678ab + 9760be2 commit 5290235
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Cleave.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,10 @@ Cleave.prototype = {
},

setRawValue: function (value) {
this.onInput(value);
var owner = this;

owner.element.value = value;
owner.onInput(value);
},

getRawValue: function () {
Expand Down

0 comments on commit 5290235

Please sign in to comment.