Added delimiter prop to EuiComboBox#3104
Conversation
|
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
|
CC @sebelga since I believe you had thoughts on similar functionality. |
|
I know how to implement the copy feature but Can someone suggest me should i use a button with a copy icon or something else? |
delimiter prop to EuiComboBox
|
@anishagg17 The copy/paste ability is just the OS's innate copy/paste ctrl+c. We don't need to provide a UI for it. |
|
But it was requested
|
|
@cchaos I have already removed that copy button you may check the functionality now |
|
Does the current state of this PR support OS copying? |
|
Not like that in #2350 but we can select text and then copy it |
|
I think we may do something like if we double click the pill, it turns into an editable pill with that we can change the content of pill too in some future pr |
|
Can you then remove the reference to #2350 since it doesn't actually fix the issue? |
|
removed |
|
Jenkins, test this |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_3104/ |
Co-Authored-By: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-Authored-By: Caroline Horn <549577+cchaos@users.noreply.github.com>
snide
left a comment
There was a problem hiding this comment.
This is really nice work and a great improvement! I did a functionality check and even made sure that removing things like onCreateOption still worked while this is enabled. I also checked @cchaos' issues were fixed. I have one small suggestion for when onCreateOption is enabled, delimiter is enabled, and the string has the delimiter present. The text that shows in the dropdown should give better feedback. I'd suggest something like Hit enter to add each item separated by {delimiter}
src/components/combo_box/combo_box_options_list/combo_box_options_list.tsx
Outdated
Show resolved
Hide resolved
…ons_list.tsx Co-Authored-By: Caroline Horn <549577+cchaos@users.noreply.github.com>
|
Jenkins test this |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_3104/ |
|
Might be flakey? Jenkins test this |
I am getting this error while running test command , yesterday also this never gave any output #3104 (comment) |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_3104/ |
|
Changes have been made . |
cchaos
left a comment
There was a problem hiding this comment.
Thanks! LGTM, checking for tests
|
Jenkins test this |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_3104/ |
|
Jenkins test this |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_3104/ |
chandlerprall
left a comment
There was a problem hiding this comment.
Changes LGTM; Pulled and tested locally, unable to break anything or get into weird states.



Summary
Fixes: #1357, functionality can be noticed in the first combo-box example in the demo , (delimenator=",")
Screenshot
when delimenator is input
Pasting delimenator separated value
Copy Functionality
Checklist
- [ ] Check against all themes for compatibility in both light and dark modes- [ ] Checked in mobile- [ ] Checked in IE11 and Firefox- [ ] Checked for breaking changes and labeled appropriately- [ ] Checked for accessibility including keyboard-only and screenreader modes