# Binding to a dropdown value returns Bad\_Stale

**URL:** <https://forum.inductiveautomation.com/t/binding-to-a-dropdown-value-returns-bad-stale/26872>\
**Category:** Ignition Early Access\
**Tags:** perspective\
**Created:** [July 25, 2019, 1:10pm UTC](https://forum.inductiveautomation.com/t/binding-to-a-dropdown-value-returns-bad-stale/26872 "2019-07-25T13:10:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![md.szyman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/md.szyman/32/9240_2.png) [@md.szyman](https://forum.inductiveautomation.com/u/md.szyman)\
**Post date:** [July 25, 2019, 1:10pm UTC](https://forum.inductiveautomation.com/t/binding-to-a-dropdown-value-returns-bad-stale/26872/1 "2019-07-25T13:10:41Z")

</div>

I’m trying to bind the `visible` property to a comparison on a Dropdown value with the expression as such:

`{../Date Range/Date Range.props.value}="custom"`

This was working fine until I just updated to the latest nightly and now, no matter what I try, the express returns `false` with a quality of `Bad_Stale`

I’ve tried restarting the gateway, the VM the gateway is running on, I’ve tried installing the designer again, all to no avail.

---

<div class="post-metadata">

**Author:** ![md.szyman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/md.szyman/32/9240_2.png) [@md.szyman](https://forum.inductiveautomation.com/u/md.szyman)\
**Post date:** [July 25, 2019, 1:18pm UTC](https://forum.inductiveautomation.com/t/binding-to-a-dropdown-value-returns-bad-stale/26872/2 "2019-07-25T13:18:44Z")

</div>

Alright, I seem to have fixed it by completely deleting and recreating the dropdown component and in the process I gave it the name `Dropdown` instead of `Date Range`. I believe changing the name could have something to do with it, since I tried cutting and pasting the item to recreate it and that didn’t fix it.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 25, 2019, 3:30pm UTC](https://forum.inductiveautomation.com/t/binding-to-a-dropdown-value-returns-bad-stale/26872/3 "2019-07-25T15:30:55Z")

</div>

Yeah, names with spaces are generally discouraged (in 8.0.3+, they’re explicitly disallowed, although any existing values _should_ continue to work. This looks like an edge case that we didn’t cover in testing of the original series of fixes - will likely be fixed in 8.0.4.

---

<div class="post-metadata">

**Author:** ![will](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/will/32/5037_2.png) [@will](https://forum.inductiveautomation.com/u/will)\
**Post date:** [November 7, 2019, 5:49pm UTC](https://forum.inductiveautomation.com/t/binding-to-a-dropdown-value-returns-bad-stale/26872/4 "2019-11-07T17:49:19Z")

</div>

Hey Paul,

Is there a documented list on reserved/invalid characters for perspective views/components? Are spaces still not allowed in 8.0.5?

Regards,

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [November 7, 2019, 6:35pm UTC](https://forum.inductiveautomation.com/t/binding-to-a-dropdown-value-returns-bad-stale/26872/5 "2019-11-07T18:35:38Z")

</div>

**Views:**

```auto
It must not be blank, and must start with a letter, digit or underscore; subsequent characters may also include spaces, dashes, and parens.

```

**Components:**  
`^[a-zA-Z_][a-zA-Z_ ()\-0-9]*$`  
Is the allowed regex, so any name

- MUST start with a letter.
- After the first letter, you may supply any combination of letters, underscore, space, parentheses, dash, or numbers.

\*_“letter” in this post can mean upper OR lower-cased_  
\*_tested in 8.0.6_
