https://github.com/adopted-ember-addons/ember-cp-validations
Ember computed property based validations
https://github.com/adopted-ember-addons/ember-cp-validations
ember ember-addon validations
Last synced: 22 days ago
JSON representation
Ember computed property based validations
- Host: GitHub
- URL: https://github.com/adopted-ember-addons/ember-cp-validations
- Owner: adopted-ember-addons
- License: bsd-3-clause
- Created: 2015-09-08T18:57:35.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-02-26T15:55:26.000Z (about 1 year ago)
- Last Synced: 2025-04-11T04:05:12.201Z (25 days ago)
- Topics: ember, ember-addon, validations
- Language: JavaScript
- Homepage: https://adopted-ember-addons.github.io/ember-cp-validations/
- Size: 15.6 MB
- Stars: 441
- Watchers: 20
- Forks: 174
- Open Issues: 71
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-ember - ember-cp-validations - Ember.js computed property based validations. (Packages / Data validation)
README
# 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 |
|-------|---------|---------|
| 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)