Open drocha87 opened 2 years ago
Seems like this if(value)
is blocking the emit when removing all characters from searchText
. Reference
watch(searchText, (value, oldValue) => {
if (value) {
emit('search', value, oldValue)
}
})
Removing this if
solved the issue to me.
Same problem
I don't know if this is the expected behavior, but when I type
@
to search for users for example and start typing everything works as expected, but if I remove everything until@
it let one character in the search string so we can't go back to the initial state where all users are available.The problem happens in the demo in the official website demo