Closed
Description
This works
Schema = { "type": "object", "title": "Comment", "properties": { "Level1": { "type": "array", "items": { "type": "object", "properties": { "Level2": { "type": "array", "items": { "type": "object", "properties": { "Text1": { "type": "string" } } } } } } } } }
Form = "*"
This doesn't
Schema = { "type": "object", "title": "Comment", "properties": { "Level1": { "type": "array", "items": { "type": "object", "properties": { "Level2": { "type": "array", "items": { "type": "object", "properties": { "Checkbox1": { "type": "boolean" //Doesn't work if its a boolean } } } } } } } } }
Form = "*"
Console
TypeError: undefined is not a function
at Scope.link.i.$watch.i.appendToArray (schema-form.min.js:1)
at $parseFunctionCall (angular.js:12404)
at angular-touch.js:472
at Scope.$get.Scope.$eval (angular.js:14466)
at Scope.$get.Scope.$apply (angular.js:14565)
at HTMLButtonElement. (angular-touch.js:471)
at HTMLButtonElement.eventHandler (angular.js:3032)