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 Validation Issue #312

Merged
merged 1 commit into from
Feb 22, 2025
Merged

Fix Validation Issue #312

merged 1 commit into from
Feb 22, 2025

Conversation

namithj
Copy link
Contributor

@namithj namithj commented Feb 21, 2025

Pull Request

What changed?

  1. Fix Validation Issue when Other option is not selected
  2. Add Validation Message

Why did it change?

Validation Issue when Other option is not selected

Did you fix any specific issues?

Fixes #311

CERTIFICATION

By opening this pull request, I do agree to abide by the Code of Conduct and be bound by the terms of the Contribution Guidelines in effect on the date and time of my contribution as proven by the revision information in GitHub.

1) Fix Validation Issue when Other option is not selected
2) Add Validation Message
@chuckadams
Copy link
Contributor

I neglected to test the bugged behavior on the previous version, but I can verify that if I enter "sdfasdf" in the "other" field, and hit save, it fails validation, but if I switch back to .io from the dropdown and save, it does preserve the bad value in the browser state, but doesn't try to validate it, and reverts to the previous good value when I reload.

@namithj namithj merged commit 5c9489a into aspirepress:main Feb 22, 2025
6 checks passed
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.

[Bug]: The Other Hosts field validates irrespective of the Hosts Dropdown selection
2 participants