This is the Spark Design System decorator for Angular Schema Form.
These are the currently available component types for use in the Spark UI-Schema.
Used for repeatable sections of a form, allows for optional add and remove as well as maxItems/minItems. Allows for an optional title.
A simple checkbox, useful for boolean input.
A group of checkboxes, useful for multiple selections.
This is the general input type, options are a label and help messaging.
Simply groups a set of other controls together with an optional title.
Can accept any generic html, useful for general messaging not tied to a form value.
Like checkboxes, but only allows one to be selected at a time. Useful for single-select of a short list of items.
Like fieldset, but more generic.
A select input, useful when there are multiple items to select from and a radio list would be too long.
A button that is meant to be the final action taken on the form that validates and sends the collected input.
Like the array component, but each item is in a tab.
Allows for sections of the form to be organized under a tabbed navigation.
Used for long blocks of text input.
npm install angular-schema-form-sparknote we do not recommend using bower as even the bower team recommend using yarn and webpack now.
The package.json 'main' script is this library alone and unminified so that minification can be handled by webpack or another script bundler.
If you include angular-schema-form-spark-bundled.min.js you DO NOT need to include angular-schema-form, it is now embedded within the bundled above file. If you wish to include the files separately you can still use angular-schema-form-spark.js or angular-schema-form-spark.min.js
bower install
npm installThen read package.json for the available scripts. Note templates are compiled so the templates script must be run after changes.