JsonForms show/ hide control based on property's custom attribute

Hi @neosri,

I don’t fully understand. If you have a custom ajv instance, then you can just hand it over to JSON Forms via the ajv prop and it will be used for validation.

If that is not the use case, then:

  • In case you are validating outside of JSON Forms and want to hand in the errors for display, then you can use the additionalErrors prop which takes an array of errors in the AJV format. You probably want to also set validationMode: 'NoValidation' then.
  • In case you perform the custom validation within your renderer, then you either handle it locally there or collect them outside of JSON Forms. See here for a similar question.