# Dropdown control issues

**URL:** <https://forum.inductiveautomation.com/t/dropdown-control-issues/75094>\
**Category:** Ignition\
**Created:** [June 15, 2023, 4:32pm UTC](https://forum.inductiveautomation.com/t/dropdown-control-issues/75094 "2023-06-15T16:32:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jorge\_coronado1](https://avatars.discourse-cdn.com/v4/letter/j/439d5e/32.png) [@jorge\_coronado1](https://forum.inductiveautomation.com/u/jorge_coronado1)\
**Post date:** [June 15, 2023, 4:32pm UTC](https://forum.inductiveautomation.com/t/dropdown-control-issues/75094/1 "2023-06-15T16:32:20Z")

</div>

Hi all,

the dropdown control is driving me crazy. I'm trying to do something simple.  
I have a dropdown control into a POPUP windows with this dataset:  
AUTO - 0  
MANUAL - 1

I have set the event handler propertyChange to change a manual/auto tag into my PLC (an S7-1200)

So, NOBODY is changing the manual/auto tag into the plc, only this dropdown control

OK, I select "AUTO" and my tag value is 0. Great  
If i select "MANUAL", my PLC tag changes to 1. Amazing

I close the POPUP window and my PLC tag changes to 0. What?!?

I tested the eventhandler mouse click but the value changes when i close the window. The window doesnt have any script.

What can i do?

Thanks

---

<div class="post-metadata">

**Author:** ![josborn](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@josborn](https://forum.inductiveautomation.com/u/josborn)\
**Post date:** [June 15, 2023, 7:57pm UTC](https://forum.inductiveautomation.com/t/dropdown-control-issues/75094/2 "2023-06-15T19:57:39Z")

</div>

Is this vision or perspective and can you share your config/code? There really isnt enough here for us to go on.

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [June 16, 2023, 1:39am UTC](https://forum.inductiveautomation.com/t/dropdown-control-issues/75094/3 "2023-06-16T01:39:16Z")

</div>

This functionally should not be scripted. You need a bidirectional tag binding on your dropdown's selected value parameter.
