keep input focus while adding tags

This commit is contained in:
RossAscends 2023-09-21 17:17:15 +09:00
parent 86c7a7a058
commit 49c26f3810
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ function selectTag(event, ui, listSelector) {
}
// unfocus and clear the input
$(event.target).val("").trigger('blur');
$(event.target).val("").trigger('input');
// add tag to the UI and internal map
appendTagToList(listSelector, tag, { removable: true });