EuiComboBox: support `append` and `prepend` for multi-select
Requestor @joana-cps (via Slack thread);
Problem Statement
On Rules → Create rule (classic / current Rules), the shared Tags field is multi-select. A copy control copies all selected tags so authors can reuse them elsewhere. Today the copy icon sits next to the optional label, which looks odd and doesn’t match other Kibana fields where secondary actions live in the field append.
EuiComboBox only renders append when singleSelection is set, so multi-select Tags cannot put the copy icon inside the combo box. Product teams are forced into awkward placements or a separate button beside the field.
Proposed Solution
Allow append (and ideally the same append slot / API as single-select) on multi-select EuiComboBox, so actions like copy can sit in the field chrome consistently.
Use Case
- Product / area: Stack Management → Rules (current / classic rule form) → Create rule → Tags
- Feature: Copy all selected tags from a multi-select combo box, using the standard field-append pattern used elsewhere in Kibana
Value / Impact
- End users: clearer, consistent field chrome; less confusing placement of copy next to “Optional”
- Library consumers: many Kibana surfaces use multi-select combo boxes; append actions (copy, clear, help) would no longer need one-offs
- Widely useful pattern, not an edge case — any multi-select field with a secondary action benefits
Urgency Not a hard blocker (workaround exists), but it blocks matching the intended UX pattern.
Do alternatives or workarounds exist?
Yes:
- Copy button next to the optional / field label (current Rules placement — awkward)
- Separate button beside the field (Observability
TagsComboBox-style) — closest real “append,” but still outside the combo box
Neither matches single-select append behavior.
Related code or customizations
- Current Rules create-rule Tags field (copy-all-tags control beside label)
- Observability
TagsComboBox— copy button beside the field as a workaround
Additional context (Optional)
- EUI constraint confirmed while trying to implement design papercut: multi-select
EuiComboBoxdoes not renderappend. - @JoseLuisGJ confirmed limitation / missing element for multi-select, not intentional design
Desired state - Design
Source: elastic/eui