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
I have a JSON schema in which one of the top level properties is of type array, but this property is not a required property.
However the array definition is specified such that it must have at least one item inside (if it is specified on the top level property).
When rendering the form with the startEmpty property set to true, I get a property added into my produced JSON document. However my server side validation routine then rejects the document saying I need to provide at least one child item.
Is it possible to have a setting which doesnt create the array property on the resultant JSON document and upon clicking Add creates the property and initialises it to empty until I populate it ?
Thanks
The text was updated successfully, but these errors were encountered:
I have a JSON schema in which one of the top level properties is of type array, but this property is not a required property.
However the array definition is specified such that it must have at least one item inside (if it is specified on the top level property).
When rendering the form with the startEmpty property set to true, I get a property added into my produced JSON document. However my server side validation routine then rejects the document saying I need to provide at least one child item.
Is it possible to have a setting which doesnt create the array property on the resultant JSON document and upon clicking Add creates the property and initialises it to empty until I populate it ?
Thanks
The text was updated successfully, but these errors were encountered: