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

Fixed no-validation-message condition #132

Closed
wants to merge 2 commits into from
Closed

Fixed no-validation-message condition #132

wants to merge 2 commits into from

Conversation

rmngrc
Copy link

@rmngrc rmngrc commented Jul 22, 2015

This simple check makes the no-validation-message work. Otherwise, even with no-validation-message="true" always was executing checkValidation and stopping the form of being submitted.

@hueitan
Copy link
Owner

hueitan commented Jul 23, 2015

@rmngrc
Copy link
Author

rmngrc commented Jul 23, 2015

Hi @huei90, the directive was never working, that is why I came up with this solution.

Anyway, it checks the pressence of the directive and its value so is basically the same.

@hueitan
Copy link
Owner

hueitan commented Aug 10, 2015

Thanks @rmngrc for reporting this.
I have checked that seems 1.3 observer has breaking change, we should handle the $observe use

@hueitan hueitan added the bug label Aug 10, 2015
hueitan added a commit that referenced this pull request Sep 16, 2015
Completely disabling validation #108

When using $validationProvider.showSuccessMessage and $validationProvider.showErrorMessage, becareful of using no-validation-message
@hueitan
Copy link
Owner

hueitan commented Sep 16, 2015

Fix.

@hueitan hueitan closed this Sep 16, 2015
@hueitan
Copy link
Owner

hueitan commented Nov 26, 2015

@rmngrc you are right.

see the fix commit.

0946ed4

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

Successfully merging this pull request may close these issues.

2 participants