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

Form Validation - Collaborator Page #163

Open
Buwujiu opened this issue Jan 22, 2025 · 0 comments
Open

Form Validation - Collaborator Page #163

Buwujiu opened this issue Jan 22, 2025 · 0 comments
Assignees

Comments

@Buwujiu
Copy link
Contributor

Buwujiu commented Jan 22, 2025

Descriptions

Implement form validation for the collaborator page and the Add Collaborator modal.

Image

The modal should follow these rules:

Users must provide a valid institutional email before adding a collaborator.

UI should validate email address format, display error message “Please enter a valid email address.” in red.

The “Add Collaborator” button should not be enabled until all required fields are filled in, and there is no error in the modal.

Refer to https://docs.google.com/document/d/1NK5j-ZgwPDwkUmMvC3KfNIdXAhm8JrWmSWBekOtN_SM/edit?tab=t.0

Acceptance Criteria

JamesTLopez added a commit that referenced this issue Feb 5, 2025
* feat(add-collab): add-collab modal init

* fix(i18n): add translation for button

* feat(i18n): AddCollaboratorModal temp schema and i18n translations

* feat(validation): add collab validation

* fix(form): reset form when modal closed

- rename fields to schema from package

* chore(organize): remove comments and organize code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants