diff --git a/ui/src/components/SchemaForm/components/Check.tsx b/ui/src/components/SchemaForm/components/Check.tsx index 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 = ({ }, }; if (typeof onChange === 'function') { + console.log('fieldName', fieldName, enumValues); onChange(state); } }; @@ -50,7 +51,7 @@ const Index: FC = ({ inline type={type} name={fieldName} - id={`form-${String(item)}`} + id={`${fieldName}-${enumNames?.[index]}`} label={enumNames?.[index]} checked={fieldObject?.value?.[index] || false} feedback={fieldObject?.errorMsg}