diff --git a/src/components/form/fields/DescriptionField.tsx b/src/components/form/fields/DescriptionField.tsx index 4cd08751..629ad075 100644 --- a/src/components/form/fields/DescriptionField.tsx +++ b/src/components/form/fields/DescriptionField.tsx @@ -11,7 +11,10 @@ export function DescriptionField({ helpText?: string schemaSection: SchemaSection }) { - const validate = useCheckMaxLengthFromSchema(schemaSection.name, 'formName') + const validate = useCheckMaxLengthFromSchema( + schemaSection.name, + 'description' + ) return (