Using additionalErrors prop for External Validation Errors(React)

Follow this: Validation - JSON Forms
I got:
Property ‘additionalErrors’ does not exist on type ‘IntrinsicAttributes & JsonFormsInitStateProps & JsonFormsReactProps’.

Can anyone help me with adding External Validation Errors for React? thanks!

1 Like

I have same problem. Version 2.5.1. @sdirix can you help?

HI @lfang001 and @MoHcmp,

The additionalErrors prop is pretty new and can only be used starting from v3.0.0-beta.2 3.0.0-beta.3 or later.

Edit: Fixed the version

2 Likes

Hi @sdirix @MoHcmp, thanks a lot for the reply! I updated to v3.0.0-beta.2, but i don’t know why i’m still getting the same error.

Hi @lfang001,

That was my mistake. I meant starting with 3.0.0-beta.3. In any case I would always recommend using the latest version which is 3.0.0-rc.1.

1 Like