How to perform validations on Custom Rendered Element

Hi, we are having a package that is built on top of material UI and we want to us that as Custom rendered elements for all the JSON forms control elements. I don’t see the validations are working for these custom rendered elements. Requesting your help on this topic.

Hi @vijaysince89,
To help you we need more information:

  • What exactly are you struggling with?
  • Can you post example code?
  • Which version of JSON Forms are you using?

Hi @sdirix ,
Thank you for your response. Below are the answers for your questions.

  • What exactly are you struggling with?
    We need help to create validations for the custom rendered elements in the JSON forms.
    For example If I have a Custom rendered Text Field and I need to create validations for that field like
  • It should not be empty
  • It should have only alpha numeric values.
  • Can you post example code?
    Don’t have problem with Code yet. we don’t have idea on where to start with validations part for custom rendered elements.

  • Which version of JSON Forms are you using?
    3.0.0 is the version used.