We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67fc863 commit 75ad94eCopy full SHA for 75ad94e
packages/main/src/components/FormItem/index.tsx
@@ -158,7 +158,7 @@ const FormItem = (props: FormItemPropTypes) => {
158
const content = getContentForHtmlLabel(label);
159
const childId = child?.props?.id;
160
return (
161
- <Fragment key={`${content}-${uniqueId}`}>
+ <Fragment key={`${content}-${uniqueId}-${index}`}>
162
{/*@ts-expect-error: child is ReactElement*/}
163
{cloneElement(child, { id: childId ?? `${uniqueId}-${index}` })}
164
<label htmlFor={childId ?? `${uniqueId}-${index}`} style={{ display: 'none' }} aria-hidden={true}>
0 commit comments