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

[EuiColorPicker] Need support for changing placeholder text and add isClearable option #3683

Closed
cchaos opened this issue Jul 1, 2020 · 1 comment · Fixed by #3689
Closed
Assignees

Comments

@cchaos
Copy link
Contributor

cchaos commented Jul 1, 2020

To help support a particular workflow in Lens where we have the idea of an "Auto" color, where then a user can override this, I've come up with a solution that doesn't involve a second click just for users to initiate "custom". This flow involves leaving the input blank to keep it in "Auto" mode, but the placeholder text says "Transparent" with no way to change it. Also, I'd like a quick single click action to return to "Auto" mode which would be by adding isClearable like we have in other inputs like search and combobox.

Here's an example in mocks
Screen Shot 2020-07-01 at 16 05 55 PM

@cchaos
Copy link
Contributor Author

cchaos commented Jul 1, 2020

I'm labelling this as urgent because this color picker is going in to Kibana 7.9, and without a really big hack/workaround to not use the color picker, we really need to be able to change the placeholder text (at the very least).

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

Successfully merging a pull request may close this issue.

2 participants