You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're having to re-design input controls in order to introduce them in Discover. In particular we're removing the hover actions and displaying them in a different way. One of this actions is the "clear selections" action. We would like it's new location to be inside the input (in the form of a cross icon, as typically found on inputs).
We're currently hacking a solution for this which results in the clear button placed in an odd location (i.e. after the arrowDown).
Proposed Solution
Implement a isClearable prop in EuiFilterButton so that the component can offer this functionality natively. The clear button should appear after the counter and before the arrowDown.
Use Case
Anywhere where controls are available: Dashboard, Discover and some solution pages.
Value / Impact
Controls are about to land (PR) in our most important application (Discover) and they will get a lot of exposure, we want the UI of these elements to feel polished and clean according to our standards.
Urgency
There's an urgency to release controls in Discover and therefore we're going with the temporary fix but it results in a very odd design. We would like to fix this from within EUI asap.
Hey all! I think we migh want to involve @mgadewoll — we discussed those inputs recently, and how we might make them look and behave more like inputs, rather than like buttons (as it is now), because they are buttons under the hood after all. This issue.
In general, as far as I see, @andreadelrio and I are aligned on the assumption, that those controls should look and feel like inputs for the user... but how do to it nicely on a code side, is a good question.
If it's alright with the EUI team, we can close this issue! We were able to find a better solution on the Kibana side - see elastic/kibana#230854 (comment) 🙇
@Heenawter we have an issue that @ek-so mentioned above ☝🏻 Not sure where we can prioritize it but just saying that it won't escape us! Closing the issue. Feel free to reopen if you find it still valid.
Activity
Heenawter commentedon Aug 8, 2025
Related Kibana issue: elastic/kibana#230854
weronikaolejniczak commentedon Aug 11, 2025
@ek-so what do you think from design perspective?
ek-so commentedon Aug 11, 2025
Hey all! I think we migh want to involve @mgadewoll — we discussed those inputs recently, and how we might make them look and behave more like inputs, rather than like buttons (as it is now), because they are buttons under the hood after all.
This issue.
ek-so commentedon Aug 11, 2025
In general, as far as I see, @andreadelrio and I are aligned on the assumption, that those controls should look and feel like inputs for the user... but how do to it nicely on a code side, is a good question.
Heenawter commentedon Aug 12, 2025
If it's alright with the EUI team, we can close this issue! We were able to find a better solution on the Kibana side - see elastic/kibana#230854 (comment) 🙇
weronikaolejniczak commentedon Aug 13, 2025
@Heenawter we have an issue that @ek-so mentioned above ☝🏻 Not sure where we can prioritize it but just saying that it won't escape us! Closing the issue. Feel free to reopen if you find it still valid.
cc @elastic/eui-team