Is there a way to map ajv error object to field control

Right now I am getting error from AJV for required min items, is there a way to map AJV error to field control

Yes, the error object contains the schema and data paths required to map it. That’s how we do it for all errors. If you like to show errors in different places than foreseen by JSON Forms, then you need to filter/collect them manually from the form-wide error storage

New AJV i guess does not have a data path it has instancePath, not sure how to map it, also message is 1 - required, what we want is State Name - requried

{
    "instancePath": "/states/1",
    "schemaPath": "#/properties/states/items/required",
    "keyword": "required",
    "params": {
        "missingProperty": "state_name"
    },
    "message": " Required",
    "schema": [
        "state_name"
    ],
    "data": {
        "state_properties": {},
        "cities": []
    },
    "child_error_message": "1 -  Required"
}