[EuiColorPicker] Add isClearable and placeholder options#3689
[EuiColorPicker] Add isClearable and placeholder options#3689thompsongl merged 10 commits intoelastic:masterfrom
isClearable and placeholder options#3689Conversation
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_3689/ |
chandlerprall
left a comment
There was a problem hiding this comment.
Code changes LGTM; pulled & tested locally
@cchaos any thoughts on the color swatch in the input being able to update to whatever a matching auto/placeholder value would be? (would need to be another value provided by the app)
I had thought about this too. For now, lets just get these new settings up and continue that convo afterward. There is a nice thing to being able to customize that icon, but would it be unexpected that the custom icon changes to the swatch color after one was chose? |
|
Waiting on the placeholder swatch/icon conversation sounds good! |
Certainly can. I'll go ahead and add it. |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_3689/ |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_3689/ |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_3689/ |

Summary
Closes #3683 by adding two additional props to:
isClearable)placeholder)Checklist
- [ ] Check against all themes for compatibility in both light and dark modes- [ ] Checked in mobile- [ ] Checked in IE11 and Firefox