Changed min query length for tags input to 1

This commit is contained in:
Alejandro Celaya 2021-06-26 10:44:17 +02:00
parent 66c5c7ebf1
commit f0598ba47f

View file

@ -42,6 +42,7 @@ const TagsSelector = (colorGenerator: ColorGenerator) => (
suggestionComponent={renderSuggestion} suggestionComponent={renderSuggestion}
allowNew allowNew
placeholderText={placeholder} placeholderText={placeholder}
minQueryLength={1}
onDelete={(removedTagIndex) => { onDelete={(removedTagIndex) => {
selectedTags.splice(removedTagIndex, 1); selectedTags.splice(removedTagIndex, 1);