/ember-cp-validations

Ember computed property based validations

Primary LanguageJavaScriptOtherNOASSERTION

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?