Closed VikLiegostaiev closed 7 years ago
Something like this:
if(alreadySelected) {
if(!this.props.deselectOnSelectedOptionClick && this.props.closeOnSelectedOptionClick) {
this._closeOnKeypress();
}
}
@VikLiegostaiev Just an update: looking into this. Trying to make it behave like a native select control. There is a little complication with multiselect/tag inputs. Trying to work some bugs out for the moment
Hi again, can u please add a method that will close select when i click on already selected option :-)