File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
packages/password-input/src Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ export const PasswordInput = React.forwardRef<
115
115
className = { className }
116
116
ref = { forwardedRef }
117
117
data-lgid = { lgIds . root }
118
- data-test = { lgIds . root }
118
+ data-testid = { lgIds . root }
119
119
>
120
120
{ label && (
121
121
< Label
@@ -124,8 +124,8 @@ export const PasswordInput = React.forwardRef<
124
124
} ) }
125
125
htmlFor = { inputId }
126
126
disabled = { disabled }
127
- data-lgid = { lgIds . root }
128
- data-testid = { lgIds . root }
127
+ data-lgid = { lgIds . label }
128
+ data-testid = { lgIds . label }
129
129
>
130
130
{ label }
131
131
</ Label >
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ export const getLgIds = (root: LgIdString = DEFAULT_LGID_ROOT) => {
6
6
const ids = {
7
7
root,
8
8
stateNotifications : `${ root } -state_notifications` ,
9
+ label : `${ root } -label` ,
9
10
} as const ;
10
11
return ids ;
11
12
} ;
You can’t perform that action at this time.
0 commit comments