Description
Describe the bug
Some fields like Contact Email Address and default lat/lon values do not show anything to the user if they have invalid values. This is confusing and prevents the user from saving the page until they solve the issue, but they don't have feedback about what's wrong.
Where was the bug observed
- Development branch (locally)
- Community support channel where a user reported that they cannot save the settings
To Reproduce
Steps to reproduce the behavior:
- Go to Settings -> General
- In the Contact Email Address field, write an invalid email like
hello
- You won't see any error messages and the save button will be disabled.
Expected behavior
- Go to Settings -> General
- In the Contact Email Address field, write an invalid email like
hello
- You see a validation error message for the field
- The save button is disabled until the error is fixed
Is there a workaround? What is it.
Just fixing the errors, but since the user doesn't know the validation rules this might be confusing/tricky to do.
Implementation Notes
- This is part of this repo : https://github.com/ushahidi/platform-client
Want to work on this issue?🙋
Comment below. If someone else has claimed it, ask if they've opened a pull request already and if they're stuck -- maybe you can help them solve a problem or move it along!