-
-
Notifications
You must be signed in to change notification settings - Fork 286
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
Reusing a widget or using it in multiple Pickr-instances #57
Comments
Ah, I got what you mean, no. This is not possible, you need for each of your pickr-container an individual selector / Pickr instance. |
Hi, |
@drkokai No, how should this get solved? How would you distinguish which event is from which instance? Use a for loop to archive something like this :) |
Perhaps by storing a global match list? Just like that, really bad: |
@ange007 Reusing the overlay, could be possible if not always visible. I'll reopen this issue :) |
If you use only one picker at a time, it's rather easy to simulate the button and launch / destroy the color picker each time... using the same here in a big application, even built it out for setting gradients and showing more color swatches in groups and tabbed (material colors / bootstrap colors / theme colors... you name it) |
hi
hi, |
Hi,
i 've some input fields, and add the color-picker class to each of them.
Only the first input field, will work with the picker. Is that not possible to use your picker for multiple fields at same page or did i something wrong?
best regards,
Rene
The text was updated successfully, but these errors were encountered: