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(ui/labeloverlayerror): invalid input error resolved #15443

Merged
merged 4 commits into from
Oct 18, 2019

Conversation

asalem1
Copy link
Contributor

@asalem1 asalem1 commented Oct 16, 2019

Closes #13940

UI is now correctly disabling the submit button and returning an invalid input error when a user tries to submit an empty input for the label overlay name

Problem

Label Overlay UI was allowing an empty string to be submitted as a name

Solution

Modified the name validation function to render an error message & disable the submit button when a user tries to submit an overlay label name that is empty

Describe your proposed changes here.

  • CHANGELOG.md updated with a link to the PR (not the Issue)

UI is now correctly disabling the submit button and returning an invalid input error when a user tries to submit an empty input for the label overlay name
@asalem1 asalem1 requested a review from a team October 16, 2019 22:44
Updated change log and added in link to issue for newly built tests
@asalem1 asalem1 requested review from a team and removed request for a team October 16, 2019 22:58
@ghost ghost requested review from 121watts and removed request for a team October 16, 2019 22:58
Updated the updateLabelOverlay methods to correspond with the changes made to the labeloverlayform
@asalem1 asalem1 changed the title fix(ui/labeloverlayerror): fix(ui/labeloverlayerror): invalid input error resolved Oct 17, 2019
@asalem1 asalem1 merged commit 77f2748 into master Oct 18, 2019
@asalem1 asalem1 deleted the fix/overlay-empty-fields branch November 8, 2019 21:18
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.

[UI] Settings > Labels - Create Label overlay does not catch empty required fields
2 participants