guillotinaweb / ngx-schema-form

HTML form generation based on JSON Schema
MIT License
484 stars 173 forks source link

Support for multiple types #220

Open Domvel opened 6 years ago

Domvel commented 6 years ago

I'm facing the error Undefined type number,string because my schema has

"value": {
  "type": ["number", "string"]
}

I'm not sure how to solve this for the form ui. Maybe with a combobox for the type?

ngx-schema-form: ^2.0.0-beta.3, z-schma: ^3.22.0

WhileTrueEndWhile commented 6 years ago

This library concentrates on a "stable basis". Only the basic HTML widgets are provided as "reference implementations".

For inspiration on how to customize everything in your favor, please see the following links: