Ember computed property based validations
Permalink
Failed to load latest commit information.
.github Update issue template Jul 14, 2016
addon updated installation instructions for cp-validations (#608) Sep 24, 2018
app chore: Fix build issues due to ember-cli-eslint Jul 27, 2018
blueprints Update validator test blueprints to latest APIs (#579) Apr 2, 2018
config Ember 3.0 + Updated Tests (#576) Mar 31, 2018
htmlbars-plugins fix: v-get helper with named argument (#600) Jul 27, 2018
tests fix: v-get helper with named argument (#600) Jul 27, 2018
vendor Init commit Sep 8, 2015
.codeclimate.yml Remove config files from code climate Mar 21, 2016
.editorconfig Ember 2.7 Upgrade (#279) Aug 11, 2016
.ember-cli Init commit Sep 8, 2015
.eslintignore chore: Fix build issues due to ember-cli-eslint Jul 27, 2018
.eslintrc.js chore: Fix build issues due to ember-cli-eslint Jul 27, 2018
.gitignore Upgrade All the Dependencies! (#523) Jul 31, 2017
.npmignore Update all the things (#564) Feb 12, 2018
.travis.yml export hasValidations decorator for es6 style models (#583) Apr 16, 2018
.watchmanconfig remove docs and upgrade to latest cli Dec 10, 2015
CHANGELOG.md Released v4.0.0-beta.3 Oct 5, 2018
LICENSE.md Update License Aug 25, 2016
README.md Fixed spelling (#597) Jul 12, 2018
UPGRADING.md Prep for 4.0.0-beta release (#577) Apr 2, 2018
ember-cli-build.js Ember 3.0 + Updated Tests (#576) Mar 31, 2018
index.js Update all the things (#564) Feb 12, 2018
jsconfig.json Update all the things (#564) Feb 12, 2018
package.json Released v4.0.0-beta.3 Oct 5, 2018
testem.js Update all the things (#564) Feb 12, 2018
yarn.lock chore: Bump ember-validators Oct 5, 2018
yuidoc.json Update yuidoc config Jan 11, 2017

README.md

Ember CP Validations

Build Status npm version Download Total Ember Observer Score

An EmberJS validation framework that is completely and utterly computed property based.

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's DS.Errors
  • No observers. Seriously... there are none. Like absolutely zero....
  • Custom validators
  • I18n support
  • Debounceable validations
  • Warning validations
  • Decorators for es6 style model/component classes

Introduction to Ember CP Validations

You can also learn more by watching this Global Ember Meetup talk:

Introduction to ember-cp-validations

Installation

ember install ember-cp-validations

Upgrading to 4.x

If you are upgrading from 3.x to 4.x, please checkout the upgrading documentation.

Helpful Links

Looking for help?