eui icon indicating copy to clipboard operation
eui copied to clipboard

[EuiDualRange] Support custom content in popover

Open cqliu1 opened this issue 3 years ago • 2 comments

Screen Shot 2022-03-16 at 10 02 38 AM

I'm using EuiDualRange for the new range slider control in Dashboard. In our use case we wanted to have the field name displayed as the title in the popover, help text or an error message under the dual range within the popover, and an additional button for clearing out the user's selection.

To achieve all of that, I had to create a custom popover instead of using the built in dual range popover. Would there be a way to support additional props to add these things to built in popover?

cqliu1 avatar Mar 16 '22 17:03 cqliu1

My thoughts on this would be doing something similar to EuiSelectable where we pass back the input and the slider from a render function that the consumer can then place anywhere they want.

cchaos avatar Mar 16 '22 17:03 cchaos

👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.

github-actions[bot] avatar Sep 14 '22 16:09 github-actions[bot]

❌ We're automatically closing this issue due to lack of activity. Please comment if you feel this was done in error.

github-actions[bot] avatar Sep 22 '22 00:09 github-actions[bot]

It looks like this should have been closed.

JasonStoltz avatar Jan 17 '23 18:01 JasonStoltz