Skip to content

yieme/angular-schema-form

 
 

Repository files navigation

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.

About

Directives to build forms from json schema

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.2%
  • CoffeeScript 10.6%
  • CSS 0.2%