Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mrvalidate

Easily bind errors returned from an API to a knockout model

Docs

  1. Call .makeValidatable() on knockout observables
  2. When API call failed pass errors to applyValidationErrorsToModel() passing in the view model
  3. To reset call clearValidationErrorsToModel() passing in the view model

Install

bower install mrvalidate --save

About

MRValidate - Bind API errors to a knockout model

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages