This addon extends aptible/ember-json-schema-document with basic JSON Schema-driven form components.
The following JSON Schema property types are supported:
boolean
usingschema-field-radio
orschema-field-toggle
enum
usingschema-field-select
text
usingschema-field-text
Schema properties can be recursed using the each-property
component.
The following template will iterate a schema's properties and build UI components that are bound to corresponding document values;
var schema = new Schema(jsonBlob);
var document = schema.buildDocument();
var properties = schema.properties();
git clone
this repositorynpm install
bower install
ember server
- Visit your app at http://localhost:4200.
ember test
ember test --server
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.