Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Latest commit

 

History

History
30 lines (21 loc) · 627 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 627 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
  • integer
  • required
  • number
  • pattern

We aim to eventually support:

  • format date-time
  • link relations

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