Skip to content

Commit 4236a10

Browse files
committed
Fix Checkbox
1 parent 1929a55 commit 4236a10

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/checkbox/src/Checkbox/Checkbox.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ const Checkbox = React.forwardRef(
137137
className={cx(labelStyle, labelHoverStyle[theme], {
138138
[disabledLabelStyle]: disabled,
139139
})}
140-
data-lgid={lgIds.root}
141-
data-testid={lgIds.root}
140+
data-lgid={lgIds.label}
141+
data-testid={lgIds.label}
142142
>
143143
<input
144144
{...rest}
@@ -186,8 +186,8 @@ const Checkbox = React.forwardRef(
186186
<Description
187187
className={descriptionStyle}
188188
disabled={disabled}
189-
data-lgid={lgIds.root}
190-
data-testid={lgIds.root}
189+
data-lgid={lgIds.description}
190+
data-testid={lgIds.description}
191191
>
192192
{description}
193193
</Description>

0 commit comments

Comments
 (0)