How to prevent submit of form if required field is not filled

I use Json forms for my project, I used custom MUI input field and a submit button to in my project, but i am unable to find a solution to prevent submit if required field is empty.

Hi @SatendraRaghav,

As you have the submit button under your control you can implement arbitrary behavior there. What many developers do is to disable the submit button until they received an empty errors update from JSON Forms which indicates that the whole form is valid. Then all what is left to do is to specify the JSON Schema in a way so that it does not validate in all the cases which are important to you.

Can u tell me, how to receive empty error status ?

The errors field of the emitted notification is an empty array then