don't backfill tags, close dropdown on tab
This commit is contained in:
@@ -120,6 +120,7 @@ export function TagInput({
|
||||
|
||||
if (key === 'Backspace' && value === '') {
|
||||
addTags(tags.slice(0, -1))
|
||||
closeDropdownAndReset()
|
||||
} else if (key === ' ') {
|
||||
e.preventDefault() // prevents an additional space on web
|
||||
addTagAndReset(value)
|
||||
|
||||
Reference in New Issue
Block a user