fix(ui): pass label as prop through to the textarea input (#8248)

This commit is contained in:
Paul
2024-09-16 16:58:22 -06:00
committed by GitHub
parent 149b7cb26c
commit a06458d70d

View File

@@ -35,6 +35,7 @@ const TextareaFieldComponent: TextareaFieldClientComponent = (props) => {
style,
width,
} = {},
label,
localized,
maxLength,
minLength,
@@ -89,6 +90,7 @@ const TextareaFieldComponent: TextareaFieldClientComponent = (props) => {
descriptionProps={descriptionProps}
Error={field?.admin?.components?.Error}
errorProps={errorProps}
label={label}
Label={field?.admin?.components?.Label}
labelProps={labelProps}
onChange={(e) => {