Skip to content

0xadada/ember-contextual-components-changesets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ember-contextual-components-changeset

A sandbox for experimenting with contextual components and ember-changeset.

Switch between git branches to view differing implementations.

branch: master

master branch contains a repo doing default all-in-one validation that occurs when any changes are made to any field. In this case, the changeset is invalid but only shows errors for fields that haven't been touched (isPristine).

incremental-validation

The incremental validation branch uses a custom validator function to only validate the currently-focused field upon onBlur event. This allows for progressive disclosure of validation errors.

incremental-validation-sub-component

The incremental-validation-sub-component refactors the date picker into another component that only yields valid dates to its consumer.

About

just a sandbox for playing with ember-changeset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published