A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix: form check id
shuai1aad5769c715
diff --git a/ui/src/components/SchemaForm/components/Check.tsx b/ui/src/components/SchemaForm/components/Check.tsxindex 23e5d520..6454cb78 100644--- a/ui/src/components/SchemaForm/components/Check.tsx+++ b/ui/src/components/SchemaForm/components/Check.tsx@@ -38,6 +38,7 @@ const Index: FC<Props> = ({},};if (typeof onChange === 'function') {+ console.log('fieldName', fieldName, enumValues);onChange(state);}};@@ -50,7 +51,7 @@ const Index: FC<Props> = ({inlinetype={type}name={fieldName}- id={`form-${String(item)}`}+ id={`${fieldName}-${enumNames?.[index]}`}label={enumNames?.[index]}checked={fieldObject?.value?.[index] || false}feedback={fieldObject?.errorMsg}