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

fix(location modal): validate only on $invalid #438

Merged
merged 1 commit into from
May 26, 2016

Conversation

jniles
Copy link
Contributor

@jniles jniles commented May 25, 2016

This commit ensures that the location modal does not flash red when submitting. This bug was introduced by watching $error instead of $invalid when displaying input validation and is corrected here.


Thank you for contributing!

Before submitting this pull request, please verify that you have:

  • Run your code through JSHint. Check out our styleguide.
  • Run integration tests.
  • Run end-to-end tests.
  • Accurately described the changes your are making in this pull request.

For a more detailed checklist, see the official review checklist that this PR will be evaluated against.

Ensuring that the above checkboxes are completed will help speed the review process and help build a stronger application. Thanks!

This commit ensures that the location modal does not flash red when
submitting.  This bug was introduced by watching `$error` instead of
`$invalid` when displaying input validation and is corrected here.
@jniles jniles added the Bug Fix label May 25, 2016
@sfount sfount merged commit f0a94eb into IMA-WorldHealth:master May 26, 2016
@jniles jniles deleted the fix-location-modal-validation branch May 26, 2016 11:09
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.

None yet

2 participants