ember-cp-validations

Ember computed property based validation library

Usage no npm install needed!

<script type="module">
  import emberCpValidations from 'https://cdn.skypack.dev/ember-cp-validations';
</script>

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.

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

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

  • Live Demo

  • Documentation

  • Changelog

Looking for help?