How to propagate the error message from child to parent

Hi ,
This is my custom filed . Schema for the filed is
“multidimensionality”: {
“type”: “object”,
“properties”: {
“multidimension”: {
“description”: “multidimension”,
“type”: “object”,

      "properties": {
        "row3": {
          "type": "array",
          "items":{"type":"number"}
          
        },
        "row1": {
          "type": "array",
          "items":{"type":"number"}
          
        },
        "row2": {
          "type": "array",
          "items":{"type":"number"}
         
        }
      }
     
    }
  }
}

When I do not enter the

gives error

but in the custom filed props

I cannot see the error
Can some please help me

Hi @naushad-rahman,

We don’t automatically hand over all child errors to the object bindings. If you’re interested in them you’ll need to resolve them yourself. For this you can access all errors and filter them according to your path.

To get you started: You can access all errors via

const ctx = useJsonForms();
const errors = ctx.core.errors;

Is there any way to implement redux with error in jsonforms
In the onChange handler the errors are triggered but as i am storing it in redux the recent errors are not updating in the reduc

Hi @Nirmalya,

Just to clarify: Are you using our old Redux integration or are you using the normal JsonForms component? In the latter case, what exactly is the problem? You should be able to store data and errors within Redux.

Can you please share the code to get errors in redux.

Hi @Nirmalya,

if you’re using the normal JSON Forms component you can simply listen to the error changes, see here. If you’re using the old JSON Forms Redux integration then the errors are just part of the jsonforms object, i.e. jsonforms.core.errors.