Skip to content

Commit b50a59d

Browse files
committed
Fix FormField
1 parent 4236a10 commit b50a59d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/form-field/src/FormField/FormField.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ export const FormField = forwardRef<HTMLDivElement, FormFieldProps>(
9494
>
9595
{label && (
9696
<Label
97-
data-lgid={lgIds.root}
98-
data-testid={lgIds.root}
97+
data-lgid={lgIds.label}
98+
data-testid={lgIds.label}
9999
className={fontStyles}
100100
htmlFor={inputId}
101101
id={labelId}
@@ -106,8 +106,8 @@ export const FormField = forwardRef<HTMLDivElement, FormFieldProps>(
106106
)}
107107
{description && (
108108
<Description
109-
data-lgid={lgIds.root}
110-
data-testid={lgIds.root}
109+
data-lgid={lgIds.description}
110+
data-testid={lgIds.description}
111111
className={fontStyles}
112112
id={descriptionId}
113113
disabled={disabled}

0 commit comments

Comments
 (0)