Ensured tags are added onBlur

This commit is contained in:
Alejandro Celaya 2021-06-26 17:06:39 +02:00
parent f0598ba47f
commit 2cc92b5b41

View file

@ -41,6 +41,7 @@ const TagsSelector = (colorGenerator: ColorGenerator) => (
suggestions={tagsList.tags.filter((tag) => !selectedTags.includes(tag)).map(toComponentTag)}
suggestionComponent={renderSuggestion}
allowNew
addOnBlur
placeholderText={placeholder}
minQueryLength={1}
onDelete={(removedTagIndex) => {