This addon (will) provides a number of useful bootstrap themed components that use Ember Bindings to automatically add necessary validation states
npm install ember-cli-bootstrap-components
Wraps a label and text input for a ordinary bootstrap form. Can accept bindings for the following values:
- for
- labelText
- type
- id
- placeholder
- value
- errors
Errors are assumed to follow the conventions of DS.Errors and be an array of objects with a message property. When using ActiveModelAdapter, this makes it trivual to bind fields to Rails validation errors.
- Send a Pull Request!