Closed damonpu closed 7 years ago
@damonpu Could you create a Plunker demo that reproduces your issue? You could fork this demo, so that you don't have to create everything from scratch.
See this issue for an example of how (IMO) issues should be reported.
should be the version issue, we now use the same version as the demo and the issue resolved, so close the issue, thanks for the help
{ "type": "object", "title": "Comment", "required": [ "comments" ], "properties": { "comments": { "type": "array", "maxItems": 2, "items": { "type": "object", "properties": { "name": { "title": "Name", "type": "string" }, "email": { "title": "Email", "type": "string", "pattern": "^\\S+@\\S+$", "description": "Email will be used for evil." }, "array2" : { "type":"array", "items":{ "type":"object", "properties": { "name": { "title": "Name", "type": "boolean" } } } }, "spam": { "title": "Spam", "type": "boolean", "default": true }, "comment": { "title": "Comment", "type": "string", "maxLength": 20, "validationMessage": "Don't be greedy!" } }, "required": [ "name", "comment" ] } } } }
Description we try to use this tools to implement something for QA to generate json data, there is an issue when the schema have two level array and the second level array contain an object that has boolean type property, please use the json I post for testing
@json-schema-form/angular-schema-form-lead