Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 635 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 635 Bytes

SchemaForm

##Simple form building for angular.

Schema form provides a couple directives for building forms given a json schema.

<schema-form-fields> can be used as an element or attribute and takes 3 attributes:

  • schema
  • model
  • fields (an array of field names, for ordering)

So far, we support the following json schema types:

  • string
  • boolean
  • enum
  • email
  • integer
  • number
  • required
  • pattern

We aim to eventually support:

  • format date-time
  • link relations

This directive outputs twitter bootstrap compatible markup. A demo is here.