You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by sh...@apache.org on 2024/06/11 04:21:40 UTC

(incubator-answer) branch test updated: fix: form invalid styles for tagSelector

This is an automated email from the ASF dual-hosted git repository.

shuai pushed a commit to branch test
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git


The following commit(s) were added to refs/heads/test by this push:
     new c3cd5e7c fix: form invalid styles for tagSelector
c3cd5e7c is described below

commit c3cd5e7cfb5c33dedbf499b783f8831f91aaa3b5
Author: shuai <li...@sifou.com>
AuthorDate: Tue Jun 11 12:18:21 2024 +0800

    fix: form invalid styles for tagSelector
---
 ui/src/components/TagSelector/index.tsx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui/src/components/TagSelector/index.tsx b/ui/src/components/TagSelector/index.tsx
index 6b10c236..845ace24 100644
--- a/ui/src/components/TagSelector/index.tsx
+++ b/ui/src/components/TagSelector/index.tsx
@@ -205,6 +205,7 @@ const TagSelector: FC<IProps> = ({
 
   const handleSearch = async (e: React.ChangeEvent<HTMLInputElement>) => {
     const searchStr = e.currentTarget.value.replace(';', '');
+    onChange?.([...value]);
     setSearchValue(searchStr);
     fetchTags(searchStr);
   };