Skip to content

Commit a06458d

Browse files
authored
fix(ui): pass label as prop through to the textarea input (#8248)
1 parent 149b7cb commit a06458d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/ui/src/fields/Textarea/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ const TextareaFieldComponent: TextareaFieldClientComponent = (props) => {
3535
style,
3636
width,
3737
} = {},
38+
label,
3839
localized,
3940
maxLength,
4041
minLength,
@@ -89,6 +90,7 @@ const TextareaFieldComponent: TextareaFieldClientComponent = (props) => {
8990
descriptionProps={descriptionProps}
9091
Error={field?.admin?.components?.Error}
9192
errorProps={errorProps}
93+
label={label}
9294
Label={field?.admin?.components?.Label}
9395
labelProps={labelProps}
9496
onChange={(e) => {

0 commit comments

Comments
 (0)