Skip to content

Commit

Permalink
Do not set typed value to set value.
Browse files Browse the repository at this point in the history
Fixes #34
Fixes #38
  • Loading branch information
samccone committed Jan 8, 2017
1 parent 8e03ba1 commit d68d470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paper-typeahead.js
Expand Up @@ -264,7 +264,7 @@
if (targetResult === undefined) {
this.fire('customvalentered', {target: this.typedValue});
} else {
this.typedValue = this.value = this._getDataItemValue(
this.value = this._getDataItemValue(
targetResult, this.dataKey);
this.fire('selected', {target: this.value, targetResult: targetResult});
this.closeResults();
Expand Down

0 comments on commit d68d470

Please sign in to comment.