ember-cp-validations
Version:
Ember computed property based validation library
67 lines (44 loc) • 2.59 kB
Markdown
# Ember CP Validations
[](https://github.com/adopted-ember-addons/ember-cp-validations/actions/workflows/ci.yml)
[](http://badge.fury.io/js/ember-cp-validations)
[](http://badge.fury.io/js/ember-cp-validations)
[](http://emberobserver.com/addons/ember-cp-validations)
An EmberJS validation framework that is completely and utterly computed property based.
## Compatibility
| Addon | Ember | Node |
|-------|---------|---------|
| 7.x | >= 4.4 | >= 18.x |
| 6.x | >= 3.28 | >= 14.x |
| 5.x | >= 3.28 | >= 12.x |
| 4.x | <= 3.28 | >= 12.x |
## Features
**No observers were used nor harmed while developing and testing this addon.**
- Lazily computed validations
- Ruby on rails inspired validators
- Support for Ember Data Models, Objects, Components, Services, etc.
- Support for nested models and objects
- Synchronous and asynchronous support
- Easily integrated with Ember Data
- No observers. Seriously... there are none. Like absolutely zero....
- Custom validators
- I18n support
- Debounceable validations
- Warning validations
[](https://embermap.com/video/ember-cp-validations)
You can also learn more by watching this Global Ember Meetup talk:
[](https://vimeo.com/146857699)
## Installation
```shell
ember install ember-cp-validations
```
## Upgrading to 4.x
If you are upgrading from 3.x to 4.x, please checkout the [upgrading documentation](UPGRADING.md).
## Helpful Links
- ### [Live Demo](http://adopted-ember-addons.github.io/ember-cp-validations)
- ### Documentation
- [4.x](http://adopted-ember-addons.github.io/ember-cp-validations/docs)
- [3.x](https://rawgit.com/adopted-ember-addons/ember-cp-validations/c4123c983e54f24dd790ffa1bad66cfdf2f47ec6/docs/index.html)
- ### [Changelog](CHANGELOG.md)
## Looking for help?
- If it is a bug [please open an issue on GitHub](http://github.com/adopted-ember-addons/ember-cp-validations/issues).
- Ask a question in the `#e-cp-validations` channel at the [Ember.js Community Slack](https://embercommunity.slack.com)