# Perspective dropdown string values are enclosed in quotation marks

**URL:** <https://forum.inductiveautomation.com/t/perspective-dropdown-string-values-are-enclosed-in-quotation-marks/57986>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [April 4, 2022, 5:54am UTC](https://forum.inductiveautomation.com/t/perspective-dropdown-string-values-are-enclosed-in-quotation-marks/57986 "2022-04-04T05:54:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ASF](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@ASF](https://forum.inductiveautomation.com/u/ASF)\
**Post date:** [April 4, 2022, 5:54am UTC](https://forum.inductiveautomation.com/t/perspective-dropdown-string-values-are-enclosed-in-quotation-marks/57986/1 "2022-04-04T05:54:50Z")

</div>

I am trying to make a dropdown selector which will be bi-directionally bound to a UDT parameter, which is a string type. I have the binding set up, and I have 5 options in my list as follows:

value: Apples  
label: Apples

value: Bananas  
label: Bananas

value: Oranges  
label: Oranges

…and so on.

At runtime, when I select Bananas from the list, the tag property updates, but not to Bananas - to “Bananas” (there are quotation marks automatically added).

In addition, the dropdown selector goes back to the placeholder “Select…” text after writing the parameter. Initially I thought this was simply because there is no matching item in the list for “Bananas”, only for Bananas. However, even after removing the quotation marks from the tag parameter value manually, the dropdown selector does not update.

How can I prevent the quotation marks from being added, and how can I force the dropdown to correctly display the parameter value after setting it?

---

<div class="post-metadata">

**Author:** ![deon.korb](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@deon.korb](https://forum.inductiveautomation.com/u/deon.korb)\
**Post date:** [April 4, 2022, 6:13am UTC](https://forum.inductiveautomation.com/t/perspective-dropdown-string-values-are-enclosed-in-quotation-marks/57986/2 "2022-04-04T06:13:19Z")

</div>

There was/is a bug with bi-directionally bound string tags and properties:

> [@\[Bug-5210\] UDT String Parameters Wrapped in Quotes](https://forum.inductiveautomation.com/t/bug-5210-udt-string-parameters-wrapped-in-quotes/53340):
>
> Hi, It seems bug 2925 only addressed the string fields like .Documentation. Continuing the discussion from [Nightly 8.1 Changelogs - 2021](https://forum.inductiveautomation.com/t/nightly-8-1-changelogs-2021/42410/166): Any string UDT parameters bi directionally written to are still wrapped in quotes. Regards, Deon

You probably just need to upgrade or make the binding not bi-directional and update the source on a datachange script.

---

<div class="post-metadata">

**Author:** ![ASF](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@ASF](https://forum.inductiveautomation.com/u/ASF)\
**Post date:** [April 4, 2022, 6:26am UTC](https://forum.inductiveautomation.com/t/perspective-dropdown-string-values-are-enclosed-in-quotation-marks/57986/3 "2022-04-04T06:26:32Z")

</div>

Thanks, at least I know I’m not missing something simple!
