[Nickname Management][Settings page] redesign expired error message.
When nickname management is disabled, hide the new error message. When nickname management is enabled, we will hide the legacy error message, and use the new expired error message format. When expired, display error message below the dropdown. Also change the expiration date label's color when expired. Note that for valid expiration, we don't hide the message, we set visibility of the error message to hidden in order to reserve the space. (Same behavior as the cr-input). Bug: 1082013 Change-Id: Id61262ea315bce62ffa5aa4b3bffa26aff3f2632 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2223151 Commit-Queue: Sujie Zhu <sujiezhu@google.com> Reviewed-by:dpapad <dpapad@chromium.org> Reviewed-by:
Jared Saul <jsaul@google.com> Cr-Commit-Position: refs/heads/master@{#774446}
Showing
Please register or sign in to comment