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

Conversation

briandpeterson
Copy link

This is for issue #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".

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".
@luisrudge
Copy link

+11111 pleaaaaaaaaaaaase

@ghost
Copy link

ghost commented Nov 9, 2020

Hi @crissdev, any chance of this getting merged?

Thanks in advance! 👍

@KingKnecht
Copy link

Is this dead? Looks like it never has been merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants