diff --git a/src/components/editorElements/tagInput/view/tagInputView.tsx b/src/components/editorElements/tagInput/view/tagInputView.tsx index 18aeab33f8..f37783b9a0 100644 --- a/src/components/editorElements/tagInput/view/tagInputView.tsx +++ b/src/components/editorElements/tagInput/view/tagInputView.tsx @@ -30,8 +30,9 @@ const TagInput = ({ value, handleTagChanged, intl, isPreviewActive, autoFocus, s useEffect(() => { // read and add tag items - const _tags = typeof value === 'string' ? value.split(' ') : value; - setTags(_tags.filter((t) => !!t)); + const _tags = (typeof value === 'string' ? value.split(' ') : value).filter((t) => !!t); + setTags(_tags); + _verifyTagsUpdate(_tags); }, [value]); const _verifyTagsUpdate = (tags: string[]) => {