[Nickname Management][Settings page] Add nickname input validation.
We limit the nickname input maxlength to 25 and valid the nickname input to ensure no digit is used as nickname. Display the error message, and disable save button when the nickname input is invalid. Local build test video (googlers only): https://drive.google.com/file/d/1l2Dck63oktdCus6GS8ywNAXFU7iJ0lxV/view?usp=sharing The follow up CL is to fine-tune the CSS layout (width & margins) once we finalize the UI. Bug: 1082013 Change-Id: I2996c8a388e4dc4d282e3d9f4e769e4e00f60581 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2217091Reviewed-by:dpapad <dpapad@chromium.org> Reviewed-by:
Dominic Battré <battre@chromium.org> Reviewed-by:
Jared Saul <jsaul@google.com> Commit-Queue: Sujie Zhu <sujiezhu@google.com> Cr-Commit-Position: refs/heads/master@{#773296}
Showing
Please register or sign in to comment