You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Objects are throwing errors when trying to do a validation on them. In the validateProperty there is no string check on value (in this case value is an object) and so .trim() throws an error because you can't trim an object.
The text was updated successfully, but these errors were encountered:
example of schema:
properties: {
callType: {
description: "Type of Call",
type: "object",
required: true,
properties: {
id: {
type: ["string", "number"],
required: true
},
description: {
type: 'string',
required: true
}
}
},
}
Objects are throwing errors when trying to do a validation on them. In the validateProperty there is no string check on value (in this case value is an object) and so .trim() throws an error because you can't trim an object.
The text was updated successfully, but these errors were encountered: