Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamically add mincolors to a field #303

Open
SKB-CGN opened this issue Mar 3, 2023 · 1 comment
Open

Dynamically add mincolors to a field #303

SKB-CGN opened this issue Mar 3, 2023 · 1 comment
Labels

Comments

@SKB-CGN
Copy link

SKB-CGN commented Mar 3, 2023

Hi,
i am having one "color" input field, which is updated to a specific color, when clicking on an element.
When changing the color, the element itself gets the new color - so far so good :)

If directly clicking on a different element, the one firstly selected looses the current color.

Do you perhaps know, how to perfom this?

Thank you!

@claviska
Copy link
Owner

claviska commented Mar 3, 2023

I'm not sure what you're asking. A CodePen or similar would help demonstrate the problem better.

By the way, this library is in maintenance mode. While it continues to function, it doesn't receive updates like it did many years ago. If you want something more modern, please checkout Shoelace's color picker web component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants