mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-24 20:46:54 +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){
|
||||
this.setState({
|
||||
value : show ? '' : this.props.default,
|
||||
showDropdown : show,
|
||||
inputFocused : this.props.autoSuggest.clearAutoSuggestOnClick ? show : false
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user