Open mohsen1 opened 9 years ago
formFor punts on the collections markup. It allows for the validation of collections (min length, max length, etc.) and items within the collection (full validation supported) but requires external user to add controls for adding/removing objects from the collection. (Items added to the collection may be complex items without default constructors. We're likely not talking about simple primitives.)
Example: http://bvaughn.github.io/angular-form-for/#/demo/collections-form
{}
is a valid JSON Schema, it's a schema for any JSONObject. Should we allow this? If yes, how? This also raises the question about what should happen whenadditionalProperties
is true?One proposal is to allow user to enter key and value. Something like this: