ColorPicker: Selected Color value should start with a '#' in hex format #3376
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
I'm submitting a ... (check one with "x")
Current behavior
The ColorPicker input component returns a value for the Selected Color in hex format (default) without the '#' in front of the hex value. This sole value is not supported by other html style elements.
Expected behavior
Add a '#' in front of the returned color value.
What is the motivation / use case for changing the behavior?
It doesn't make sense to leave out the '#'. Every other html element's color style requires a '#' in front of color hex value. Now, we have to change the value of the model to specifically add a #, before it can be used somewhere else.
Angular version: 4.0.3
PrimeNG version: 4.1.0-rc.3
The text was updated successfully, but these errors were encountered: