We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7a036f2 + 1aad576 commit 51359f7Copy full SHA for 51359f7
1 file changed
ui/src/components/SchemaForm/components/Check.tsx
@@ -38,6 +38,7 @@ const Index: FC<Props> = ({
38
},
39
};
40
if (typeof onChange === 'function') {
41
+ console.log('fieldName', fieldName, enumValues);
42
onChange(state);
43
}
44
@@ -50,7 +51,7 @@ const Index: FC<Props> = ({
50
51
inline
52
type={type}
53
name={fieldName}
- id={`form-${String(item)}`}
54
+ id={`${fieldName}-${enumNames?.[index]}`}
55
label={enumNames?.[index]}
56
checked={fieldObject?.value?.[index] || false}
57
feedback={fieldObject?.errorMsg}
0 commit comments