Open decatur opened 10 years ago
Client is IE10.
My bad: Do not want to close!
additionalProperties set to false stops the Add Properties button from showing up. This is a bug, since it should only do that if there are also no patternProperties defined. Removing additionalProperties should fix it.
Pattern properties are really hard to deal with in the editor UI and not user friendly, so I highly recommend not using them unless absolutely necessary.
Yes, it is indeed difficult to deal with the duality between class versus map style of JSON-objects. I'd also recommend to use lists instead of map-style objects. BUT: In our organisation, the business departments own the schema, and they don't (and should not) care about UI-specific concerns.
Ok, removing "additionalProperties":false alltogether did it. Thanks!
This issue should stay open until the bug with additionalProperties":false is resolved. Please mind that the issue is not with a missing button, but with a missing editor. Also the patternProperties I provided above is wrong. It should read "^any[a-z]*$"
What do I miss when setting up an editor for a container object, for example
with schema
The json-editor simply displays nothing, not even errors on console.