Skip to content

[BUG] The color field shows black all the time #9173

@twMat

Description

@twMat

Describe the bug

Problem

This bug has been pestering us forever, i.e the set color is not reflected in the "color preview":

Image

Based on earlier discussions it seems it is some browser issue. Here's a still open issue from 2014 #643 which I think is this issue.

...but it would be very simple to circumvent the problem:

Proposal

Just use the usual settings for the EditTextWidget as for when editing text, and add the color as the background colour to it:

Image

This not only avoids the bug but it is even better to clearly see the value!

What about the colour picker?

Well, presuming that the filed is set to color (which is a presumption that also the current implementation does), then the colour picker could be opened as soon as the editwidget comes into focus, or a small "more" button could appear next to the field.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions