This Ember addon adds support for validations based on ember-changeset to ember-bootstrap forms. This way your forms are only submitted when the underlying data is valid, otherwise the appropriate bootstrap error markup will be applied. See the FormElement documentation for further details.
- Ember Bootstrap v4.5 or above
- Ember Changeset and Ember Changeset Validations v3
- Ember.js v3.16 or above
- Ember CLI v2.13 or above
- Node.js v10 or above
ember install ember-bootstrap-changeset-validations
You should have installed the ember-bootstrap and ember-changeset addons already. If not install them:
ember install ember-bootstrap
ember install ember-changeset
You probably also want to install ember-changeset-validations if you do not have a custom validation implementation:
ember install ember-changeset-validations
Define your model and its validations as described in ember-changeset-validations. Then assign the changeset based on that to your form:
See the Contributing guide for details.
Code and documentation copyright 2017 kaliber5 GmbH and contributors. Code released under the MIT license.