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

robin0716 pushed a commit to branch feat/1.3.5/embed
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git


The following commit(s) were added to refs/heads/feat/1.3.5/embed by this push:
     new 69b7e4b4 refactor(SchemaForm): update key in Form.Group to include 
title and key
69b7e4b4 is described below

commit 69b7e4b46de3e44c6616458407df0ec3dc5835d5
Author: robin <[email protected]>
AuthorDate: Mon Jun 3 15:16:27 2024 +0800

    refactor(SchemaForm): update key in Form.Group to include title and key
---
 ui/src/components/SchemaForm/index.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/components/SchemaForm/index.tsx 
b/ui/src/components/SchemaForm/index.tsx
index 1fe8c8c1..ba4acadd 100644
--- a/ui/src/components/SchemaForm/index.tsx
+++ b/ui/src/components/SchemaForm/index.tsx
@@ -282,7 +282,7 @@ const SchemaForm: ForwardRefRenderFunction<FormRef, 
FormProps> = (
 
         return (
           <Form.Group
-            key={title}
+            key={`${title}-${key}`}
             controlId={key}
             className={classnames(
               groupClassName,

Reply via email to