Skip to content

Commit

Permalink
Reset local input value when creating a new option
Browse files Browse the repository at this point in the history
  • Loading branch information
f0urfingeredfish committed Dec 21, 2016
1 parent cbbd8f1 commit 6d64f9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Creatable.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ const Creatable = React.createClass({
options.unshift(option);

this.select.selectValue(option);
this.inputValue = '';
}
}
},
Expand Down

0 comments on commit 6d64f9f

Please sign in to comment.