Opened 8 years ago
Last modified 8 years ago
#14795 confirmed New Feature
Color picker dialog should validate entry upon dialog close
Reported by: | Joshua Smith | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.0 |
Keywords: | Cc: |
Description
Currently, the text entry field in the color picker dialog has no validation whatsoever, not even a maxlength. Knowing that there are 140 named colors and that other colors should be specified as a hex value, it should be possible to validate the input to that field to at least warn users when an invalid named color or an invalid hex color has been specified.
Possible error messages are:
- You have entered an invalid color name. Did you mean to enter a hex code? (Don't forget to include the #)
- You have entered an valid hex code. Did you mean to enter a named color?
Change History (2)
comment:1 Changed 8 years ago by
comment:2 Changed 8 years ago by
Status: | new → confirmed |
---|---|
Version: | 4.5.10 (GitHub - master) → 4.0 |
Possibly related to #14436, #5597.