Update spiffworkflow-frontend/src/rjsf/custom_widgets/CharacterCounterField/CharacterCounterField.tsx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Kayvon-Martinez 2024-03-07 00:49:55 -06:00 committed by GitHub
parent b2e9c41258
commit 21c9f1dace
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,7 +54,7 @@ export default function CharacterCounterField({
if (schema.maxLength === undefined) {
throw new Error(
'CharacterCounterTextField requires a "maximum" property to be specified'
'CharacterCounterTextField requires a "maxLength" property to be specified in the schema'
);
}