From 21c9f1dacefdcb0ae23aa2b83b0638200aa0e550 Mon Sep 17 00:00:00 2001 From: Kayvon-Martinez <142514475+Kayvon-Martinez@users.noreply.github.com> Date: Thu, 7 Mar 2024 00:49:55 -0600 Subject: [PATCH] Update spiffworkflow-frontend/src/rjsf/custom_widgets/CharacterCounterField/CharacterCounterField.tsx Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- .../CharacterCounterField/CharacterCounterField.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spiffworkflow-frontend/src/rjsf/custom_widgets/CharacterCounterField/CharacterCounterField.tsx b/spiffworkflow-frontend/src/rjsf/custom_widgets/CharacterCounterField/CharacterCounterField.tsx index 79bb45db4..b82a91d39 100644 --- a/spiffworkflow-frontend/src/rjsf/custom_widgets/CharacterCounterField/CharacterCounterField.tsx +++ b/spiffworkflow-frontend/src/rjsf/custom_widgets/CharacterCounterField/CharacterCounterField.tsx @@ -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' ); }