diff --git a/package.json b/package.json index e6600a7a8d..84fa32d45e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-select-allow-create", - "version": "1.0.0-beta11.15", + "version": "1.0.0-beta11.16", "description": "A Select control built with and for ReactJS", "main": "lib/Select.js", "style": "dist/react-select.min.css", diff --git a/src/Select.js b/src/Select.js index d30951b59d..740fa1ec3e 100644 --- a/src/Select.js +++ b/src/Select.js @@ -538,6 +538,8 @@ const Select = React.createClass({ handleValueClick (option, event) { if (!this.props.onValueClick) return; + this.removeValue(option); + this.setState({ inputValue: option.label }); this.props.onValueClick(option, event); },