Skip to content

Commit 78514d5

Browse files
(Textarea): pass controlId instead of htmlFor
1 parent 21eef39 commit 78514d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/Textarea.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const Textarea = createFC<TextareaProps, { isFormElement: boolean }>(
7575
);
7676
if (isFieldSetColumn || label || required || error || cols) {
7777
const formElemProps = {
78-
htmlFor: id,
78+
controlId: id,
7979
label,
8080
required,
8181
error,

0 commit comments

Comments
 (0)