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

Change validation timing on create from image page #4968

Merged
merged 1 commit into from
Oct 7, 2015

Conversation

spadgett
Copy link
Member

@spadgett spadgett commented Oct 6, 2015

Avoid problems with the try it and more options links by changing when we validate fields.

Fixes #4912

@spadgett
Copy link
Member Author

spadgett commented Oct 6, 2015

@jwforres @liggitt PTAL

links. Show the required error if the user enters and deletes the value, even if the field still
has focus.
-->
<div ng-class="{'has-error': (form.appname.$error.required && form.appname.$dirty) || (form.appname.$invalid && validateName) || nameTaken}">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the meaning of validateName confused me at first because it reads as an action. maybe shouldValidateName ?

Avoid problems with the try it and more options links by changing when
we validate fields.
@spadgett
Copy link
Member Author

spadgett commented Oct 6, 2015

@jwforres updated from your comments

@jwforres
Copy link
Member

jwforres commented Oct 6, 2015

[merge]

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/3512/) (Image: devenv-fedora_2451)

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to e574657

@openshift-bot
Copy link
Contributor

[Test]ing while waiting on the merge queue

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/5445/)

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to e574657

openshift-bot pushed a commit that referenced this pull request Oct 7, 2015
@openshift-bot openshift-bot merged commit c33a809 into openshift:master Oct 7, 2015
@spadgett spadgett deleted the name-validation branch October 21, 2015 18:13
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