mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 21:06:58 +00:00
When clicked, combobox textbox clears
This commit is contained in:
1 parent
45e98debbd
commit
e584eec8c2
1 file changed
+1
@@ -45,6 +45,7 @@ const Combobox = createClass({
|
|||||||
},
|
},
|
||||||
handleDropdown : function(show){
|
handleDropdown : function(show){
|
||||||
this.setState({
|
this.setState({
|
||||||
|
value : show ? '' : this.props.default,
|
||||||
showDropdown : show,
|
showDropdown : show,
|
||||||
inputFocused : this.props.autoSuggest.clearAutoSuggestOnClick ? show : false
|
inputFocused : this.props.autoSuggest.clearAutoSuggestOnClick ? show : false
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user