# Dropdown value not reverting after confirmation popup cancel

**URL:** <https://forum.inductiveautomation.com/t/dropdown-value-not-reverting-after-confirmation-popup-cancel/113339>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [January 16, 2026, 7:37am UTC](https://forum.inductiveautomation.com/t/dropdown-value-not-reverting-after-confirmation-popup-cancel/113339 "2026-01-16T07:37:57Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![TechEnlive](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@TechEnlive](https://forum.inductiveautomation.com/u/TechEnlive)\
**Post date:** [January 16, 2026, 7:37am UTC](https://forum.inductiveautomation.com/t/dropdown-value-not-reverting-after-confirmation-popup-cancel/113339/1 "2026-01-16T07:37:57Z")

</div>

Hi team,

I have a dropdown embedded inside a table. When the dropdown value changes, I show a confirmation popup. If the user clicks **Yes** , everything works fine. However, if the user clicks **No** , the changed value still remains selected in the dropdown, even though the table data is being refreshed via polling every 3 seconds. Only the dropdown value does not revert to the original value.

Does anyone have a quick solution for this issue?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![David\_Stone](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/david_stone/32/79749_2.png) [@David\_Stone](https://forum.inductiveautomation.com/u/David_Stone)\
**Post date:** [January 16, 2026, 7:48am UTC](https://forum.inductiveautomation.com/t/dropdown-value-not-reverting-after-confirmation-popup-cancel/113339/2 "2026-01-16T07:48:06Z")

</div>

How are you handling the No click?

---

<div class="post-metadata">

**Author:** ![TechEnlive](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@TechEnlive](https://forum.inductiveautomation.com/u/TechEnlive)\
**Post date:** [January 16, 2026, 8:08am UTC](https://forum.inductiveautomation.com/t/dropdown-value-not-reverting-after-confirmation-popup-cancel/113339/3 "2026-01-16T08:08:10Z")

</div>

```python
def runAction(self, event):
	system.perspective.closePopup("confirmToggle")	

```

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [January 16, 2026, 8:11am UTC](https://forum.inductiveautomation.com/t/dropdown-value-not-reverting-after-confirmation-popup-cancel/113339/4 "2026-01-16T08:11:21Z")

</div>

You may need to send a message, caught by your table/your dropdown view, to reset it.  
Though a refresh of the binding should be enough to reset the value, so there may be something weird happening there.

Also: Why a dropdown for a boolean ? Why not a toggle switch or a checkbox ?

---

<div class="post-metadata">

**Author:** ![TechEnlive](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@TechEnlive](https://forum.inductiveautomation.com/u/TechEnlive)\
**Post date:** [January 16, 2026, 8:17am UTC](https://forum.inductiveautomation.com/t/dropdown-value-not-reverting-after-confirmation-popup-cancel/113339/5 "2026-01-16T08:17:27Z")

</div>

dropdown is for some values this is just close for the popup.  
I have tried to refresh table but its is not working.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/2/120a7668501fff955fec3ee670ec686a64286f08.png)

---

<div class="post-metadata">

**Author:** ![David\_Stone](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/david_stone/32/79749_2.png) [@David\_Stone](https://forum.inductiveautomation.com/u/David_Stone)\
**Post date:** [January 16, 2026, 8:20am UTC](https://forum.inductiveautomation.com/t/dropdown-value-not-reverting-after-confirmation-popup-cancel/113339/6 "2026-01-16T08:20:31Z")

</div>

To expand on this, you need a generic popup takes a parameter, that parameter will probably be the primary key of the row that you clicked on the dropdown. When you handle the yes or no buttons, pass this primary key via message handlers to the dropdowns, which filter for the primary key, and it sets the dropdown selected to null or previous value when triggered by a "No".  
Also to note, you can slow down the polling and use the message handlers to trigger a "refreshBinding" on the table binding after a click action.  
I find this makes the table respond super rapidly to the user, and minimises polling on the database.

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [January 16, 2026, 9:05am UTC](https://forum.inductiveautomation.com/t/dropdown-value-not-reverting-after-confirmation-popup-cancel/113339/7 "2026-01-16T09:05:09Z")

</div>

Right sorry, I read `yes` and `no` and thought these were the dropdowns values, but they're the confirmation popup buttons

---

<div class="post-metadata">

**Author:** ![TechEnlive](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@TechEnlive](https://forum.inductiveautomation.com/u/TechEnlive)\
**Post date:** [January 16, 2026, 9:14am UTC](https://forum.inductiveautomation.com/t/dropdown-value-not-reverting-after-confirmation-popup-cancel/113339/8 "2026-01-16T09:14:08Z")

</div>

> [@David\_Stone](#):
>
> refreshBinding

```python
def onMessageReceived(self, payload):

self.getChild("FlexContainer").getChild("Scheduled").getChild("tbl_NEW").refreshBinding("props.data")

```

on No click i call handler of the page root.  
it is not updating the table data.

is some thing i am missing?

---

<div class="post-metadata">

**Author:** ![David\_Stone](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/david_stone/32/79749_2.png) [@David\_Stone](https://forum.inductiveautomation.com/u/David_Stone)\
**Post date:** [January 16, 2026, 9:40am UTC](https://forum.inductiveautomation.com/t/dropdown-value-not-reverting-after-confirmation-popup-cancel/113339/9 "2026-01-16T09:40:49Z")

</div>

If you throw a logger in the message handler, is it getting called?

---

<div class="post-metadata">

**Author:** ![TechEnlive](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@TechEnlive](https://forum.inductiveautomation.com/u/TechEnlive)\
**Post date:** [January 16, 2026, 9:51am UTC](https://forum.inductiveautomation.com/t/dropdown-value-not-reverting-after-confirmation-popup-cancel/113339/10 "2026-01-16T09:51:17Z")

</div>

First, thank you all for your cooperation.  
I was able to resolve this by creating a message handler in the dropdown’s view and simply resetting the dropdown value.

```python
self.getChild("Dropdown").props.value = self.view.params.value

```

This updates the dropdown with the current value, where `view.params.value` holds the actual (original) value.
