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

[Feature Request] Color-picker - Add input slots #11007

Open
yassilah opened this issue Apr 2, 2020 · 0 comments
Open

[Feature Request] Color-picker - Add input slots #11007

yassilah opened this issue Apr 2, 2020 · 0 comments
Labels

Comments

@yassilah
Copy link

yassilah commented Apr 2, 2020

Problem to solve

I have created an eyedropper component to let the user pick a color from a canvas, which works great with the current color-picker component. However, since there currently is no slot inside the color-picker component, i had to patch the current component to include a "prepend-input" and "append-input" slots.

Proposed solution

My solution would be to slightly change the "genInput" method of the VColorPickerEdit component to include "prepend-input" and "append-input" slots. Beyond my personal case, this could also be useful to add a button (e.g. for emitting the input event) or an icon.

@ghost ghost added the S: triage label Apr 2, 2020
@yassilah yassilah closed this as completed Apr 4, 2022
@KaelWD KaelWD reopened this Apr 5, 2022
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

3 participants