Validation of fields in custom renderer

Hello ,

I am using custom renderer where I get fields from another library . But validation is not happening here .So can you please let me know how that can be handled .

return (
<Textbox
type={schema.type === ‘string’ ? ‘text’ : schema.type}
// autoComplete
// autoFocus
defaultValue={data}
label={path}
labelText={label}
onInputChange={handleChange}
placeholder={uischema.options?.placeholder || ‘’}
required
/>
);
};

export default withJsonFormsControlProps(RatingControl);

this is the custom renderer component that I am using .

Hi @BharathKS77,

The validation is available via the errors prop. Can you check whether this is available to you?

Thank you very much for the solution .