teammates
teammates copied to clipboard
[#13365] Add validation for email input in feedback form
…3365
[#XXXX] Add email regex validation with user hints in feedback form
Fixes #13365 > Add email regex validation with user hints in feedback form
Outline of Solution
- Added regex validation for email input in the feedback form.
- Invalid emails now show red error hints.
- Valid emails now show green confirmation hints.
- Updated the feedback form component logic to prevent invalid emails from being submitted.
- Removed temporary test input and button used for manual testing.
Testing
- Manually verified that invalid emails like
plainaddress,@domain.com,[email protected]show red hints. - Valid emails like
[email protected],[email protected]show green hints.
Hi @nity4jain, thank you for your interest in contributing to TEAMMATES! However, your PR does not appear to follow our contribution guidelines:
- Title must start with the issue number the PR is fixing in square brackets, e.g.
[#<issue-number>]
Please address the above before we proceed to review your PR.