Hello there, I have been using the schema,
contact:{
type: “object”,
minProperties: 1,
properties: {
//some string fields
}
}
required: [‘contact’]
For some reason there are no error emitted for this field(contact).
Hello there, I have been using the schema,
contact:{
type: “object”,
minProperties: 1,
properties: {
//some string fields
}
}
required: [‘contact’]
For some reason there are no error emitted for this field(contact).
Hi @sh15h4nk, we show the required
errors on their respective input, not on the overall object. Therefore to show that contact
is required there also must be a contact
Control, i.e. properties
must also contain contact
and should define its type.