fix(ui): hide selected option in suggestion dropdown

This commit is contained in:
Łukasz Mierzwa
2018-09-09 11:07:36 +01:00
parent 8c64ce2ca2
commit d2a2945418

View File

@@ -94,7 +94,8 @@ const LabelNameInput = observer(
defaultValue: value,
options: matcher.suggestions.names,
placeholder: isValid ? "Label name" : <ValidationError />,
onChange: this.onChange
onChange: this.onChange,
hideSelectedOptions: true
};
};
}