teammates icon indicating copy to clipboard operation
teammates copied to clipboard

Update instructor-request-form.component.ts

Open omarayman23 opened this issue 2 months ago • 1 comments

[Issue #13371 Add validation for email input in feedback form [#13365] Fixes #13371 Outline of Solution This change adds client-side (front-end) email format validation to the instructor account request form.

  • Problem: The form only checked if the email field was empty, but not if the format was valid (e.g., test@test would be accepted). The user would only see an error after submitting.
  • Solution: By adding Angular's built-in Validators.email, the form now provides immediate feedback to the user if the email format is invalid.

omarayman23 avatar Oct 21 '25 21:10 omarayman23

Hi @omarayman23, 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.

github-actions[bot] avatar Oct 21 '25 21:10 github-actions[bot]