JSPM

  • Created
  • Published
  • Downloads 22340
  • Score
    100M100P100Q152212F
  • License MIT

Ember computed property based validation library

Package Exports

  • ember-cp-validations
  • ember-cp-validations/htmlbars-plugins/v-get
  • ember-cp-validations/htmlbars-plugins/v-get.js
  • ember-cp-validations/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ember-cp-validations) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Ember CP Validations

Build Status npm version Download Total Ember Observer Score

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

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.

Looking for help?