guillotinaweb / ngx-schema-form

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

JSON Scheme version support #238

Open subha84 opened 5 years ago

subha84 commented 5 years ago

does 'ngx-schema-form' supports latest json schema draft 06/07 ?

ebrehault commented 5 years ago

I cannot guarantee we are covering the entire spec. Did you identify an important missing aspect?

subha84 commented 5 years ago

No, But I am curious to know "if/then/else" schema syntax is supported by this tool ? I am in process of evaluating many JSON schema to form generator and none of them supports beyond draft 3/4. I am hoping this must support as it is pretty latest.

Demo URL is down ???

ebrehault commented 5 years ago

The demo is fixed, thank you for reporting :) http://makinacorpus.github.io/ngx-schema-form/dist/ngx-schema-form/

We do manage conditional fields (see https://github.com/makinacorpus/ngx-schema-form#conditional-fields). The syntax is not the one from the specs, but that something which can be easily fxied on the fly when you pass your schema to the component.