Describe the bug
Color picker input only allows input of 4 characters following # (e.g. #abcd), inputting a 5th character will erase the contents of the input.
Authgear Version
main branch 13/09/2024
To Reproduce
Steps to reproduce the behavior:
Go to project portal -> Branding -> Design
Click on any color picker e.g. Background
Type the following string one character at a time. "#aaaaa"
Input box is empty.
Paste the following string. "#aaaaaa"
Type the following string one character at a time. "a"
Input box is empty.
Expected behavior
Since color string can be up to 8 characters long, color picker input should accept up to 8 characters before clearing. Or maybe don't clear at all, just refuse to add more characters.
Client Env (if applicable, please complete the following information):
Device: MacBook Pro 14in 2021
OS: macOS Ventura 13.6.4
Browser: Brave 1.68.137
This bug will affect any user who try to input custom color in their branding / design.
Describe the bug Color picker input only allows input of 4 characters following # (e.g. #abcd), inputting a 5th character will erase the contents of the input.
Authgear Version main branch 13/09/2024
To Reproduce Steps to reproduce the behavior:
Expected behavior Since color string can be up to 8 characters long, color picker input should accept up to 8 characters before clearing. Or maybe don't clear at all, just refuse to add more characters.
Client Env (if applicable, please complete the following information):
This bug will affect any user who try to input custom color in their branding / design.