multiselect icon indicating copy to clipboard operation
multiselect copied to clipboard

Options Color

Open sandranrivas opened this issue 3 years ago • 1 comments

I want to be able to change the color options, when they are not selected.

At this moment I have tried, this approach, from a last issue I saw.

:options="[
{ value: 'batman', label: 'Batman' , color : 'red},
{ value: 'robin', label: 'Robin', color: 'green' },
{ value: 'joker', label: 'Joker', color: 'blue' },
]"

But this only changes the color, for the selected option. I want to have colors, even when the option hasn't been selected, as the example below.

image I just selected some random colors.

sandranrivas avatar Aug 31 '22 09:08 sandranrivas

using aria label seem to work ok

[aria-label="Batman"] { background-color: #ecf9f5 !important; }

sandranrivas avatar Aug 31 '22 09:08 sandranrivas