Add frontend validation for discord id
requested to merge gitlab-community/gitlab:389918-migrate-user-profile-page-to-use-pajamas-form-components into master
What does this MR do and why?
Describe in detail what your merge request does and why.
Adds validation in the frontend for discord id.
Also adds allow empty condition in the validation to account for non-required fields.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Screen_Recording_2023-02-07_at_14.36.51
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- click profile picture on top right
- select edit profile
- add discord id
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #389918
Edited by James Rushford