Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added clearAllErrors and validateAllObservables functions #433

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 19, 2014

  1. Added clearAllErrors and validateAllObservables functions

    This is for issue Knockout-Contrib#431
    
    clearAllErrors: Use in cases where you want to reset all of your
    observable's validation errors to zero. Which is useful when you don't
    want errors to show right away, until the user makes a change to the
    property. This is particularly true when you have Async and Synchronous
    rules on the same observable.
    
    validateAllObservables: Use in cases when you want to force all the
    validation to fire on your observables. Useful if you called
    clearAllErrors, and you want to validate your properties before "save".
    briandpeterson committed Jun 19, 2014
    Configuration menu
    Copy the full SHA
    4afbdfe View commit details
    Browse the repository at this point in the history