-
Notifications
You must be signed in to change notification settings - Fork 280
Labels
Description
Bug Description
There is a problem with the Color Picker - UI5 Web Components when entering color codes in hexadecimal format. The issue occurs when inputting a color code with a "#" sign, such as "#38b7fa", which results in an "invalid entry" error. However, entering the color code without the "#" displays correctly.
Affected Component
Color Picker
Expected Behaviour
- According to the VD specification, the "#" sign should be accepted in the input field without triggering an error.
- The field should automatically prepend "#" to the input if it's entered without it, facilitating easy copy-pasting.
Isolated Example
Color Picker - UI5 Web Components
Steps to Reproduce
- Navigate to the Color Picker - UI5 Web Components.
- Attempt to enter a color code with a "#" sign (e.g., "#38b7fa").
- Observe that an "invalid entry" error is shown.
- Enter the color code without the "#" (e.g., "38b7fa").
- The color is displayed correctly without any error.
Log Output, Stack Trace or Screenshots
Priority
None
UI5 Web Components Version
2.9.0
Browser
Chrome
Operating System
No response
Additional Context
No response
Organization
No response
Declaration
- I’m not disclosing any internal or sensitive information.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Completed