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:


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:

  1. You have entered an invalid color name. Did you mean to enter a hex code? (Don't forget to include the #)
  2. 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 Joshua Smith

Possibly related to #14436, #5597.

comment:2 Changed 8 years ago by Jakub Ś

Status: newconfirmed
Version: 4.5.10 (GitHub - master)4.0
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy