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
OneOf and anyOf will need their own special widget, but allOf is already supported, and as long as the properties of the schemas being merged don't conflict, it should render correctly.
However, it appears you've found a bug in the algorithm that merges allOf schemas.
Thanks for posting the example. I'll look into it.
Never mind. The allOf merging algorithm is working fine. The problem is that your schema doesn't have a "type" property.
(In some cases, angular2-json-schema-form will add "type": "object" to a schema, but only if it sees a "properties" key at the root level of the schema, which this schema doesn't have.)
To make this schema render correctly, just add "type": "object", like so:
Probably related to #112
"allOf" tag does not work as per this sample code, which is the standard pattern for extending one schema with another:
The text was updated successfully, but these errors were encountered: