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
When new sting elements are added and they are not filled with any data, nulls are returned instead. However it should be empty strings according to the schema.
See the screenshot:
The text was updated successfully, but these errors were encountered:
// Check for null values and convert them to empty strings
var subOptionValue = data[parentId + ".suboption1"];
if (subOptionValue === null) {
subOptionValue = "";
}
schemas["$.sub" + parentId] = schema;
schemas["$.sub" + parentId].default = subOptionValue;
setTimeout(function() {
cb(schemas);
}, 500); // in order to show asynchrony
}
When new sting elements are added and they are not filled with any data, nulls are returned instead. However it should be empty strings according to the schema.
See the screenshot:
The text was updated successfully, but these errors were encountered: