# Clearing selection for dropdowncontrol in Canvas

**URL:** <https://discuss.elastic.co/t/clearing-selection-for-dropdowncontrol-in-canvas/256405>\
**Category:** Kibana\
**Tags:** canvas\
**Created:** [November 23, 2020, 8:47pm UTC](https://discuss.elastic.co/t/clearing-selection-for-dropdowncontrol-in-canvas/256405 "2020-11-23T20:47:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaigbdb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaigbdb/32/74219_2.png) [@shaigbdb](https://discuss.elastic.co/u/shaigbdb)\
**Post date:** [November 23, 2020, 8:47pm UTC](https://discuss.elastic.co/t/clearing-selection-for-dropdowncontrol-in-canvas/256405/1 "2020-11-23T20:47:59Z")

</div>

I have a dropdowncontrol A, and then a dropdowncontrol B. A filters B, which works fine.  
But once I make a choice in B, changing the choice in A doesn't remove the choice in B: it just adds up to it, causing B to show no value and any other element filtered by both A and B to have contradicting filters.  
Is there any way to achieve this?

Thanks.

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [November 30, 2020, 8:46am UTC](https://discuss.elastic.co/t/clearing-selection-for-dropdowncontrol-in-canvas/256405/2 "2020-11-30T08:46:00Z")

</div>

The dropdown controls aren't aware of each other. Each of them controls a global filter which is set when you select a value. You have to change the initial one manually.

---

<div class="post-metadata">

**Author:** ![shaigbdb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaigbdb/32/74219_2.png) [@shaigbdb](https://discuss.elastic.co/u/shaigbdb)\
**Post date:** [November 30, 2020, 12:57pm UTC](https://discuss.elastic.co/t/clearing-selection-for-dropdowncontrol-in-canvas/256405/3 "2020-11-30T12:57:36Z")

</div>

Hi Marius,  
The issue is that once I choose a selection in A, after making a choice in B, the filter is an intersection of the values selected in A and B. If that intersection is empty, a choice can't be made in B anymore, and the other components are affected by the contradicting filters as well.  
I'm not sure what you meant by "manually" - what I'm asking is if there any way to remove the choice made in B once I make a choice in A.

Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 28, 2020, 12:57pm UTC](https://discuss.elastic.co/t/clearing-selection-for-dropdowncontrol-in-canvas/256405/4 "2020-12-28T12:57:38Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
