# configureEditor dropdown not selectable

**URL:** <https://forum.inductiveautomation.com/t/configureeditor-dropdown-not-selectable/20488>\
**Category:** Ignition\
**Created:** [November 1, 2018, 5:49pm UTC](https://forum.inductiveautomation.com/t/configureeditor-dropdown-not-selectable/20488 "2018-11-01T17:49:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brendan.curran](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@brendan.curran](https://forum.inductiveautomation.com/u/brendan.curran)\
**Post date:** [November 1, 2018, 5:49pm UTC](https://forum.inductiveautomation.com/t/configureeditor-dropdown-not-selectable/20488/1 "2018-11-01T17:49:15Z")

</div>

So I’m trying to get a dropdown selection box on a power table in a window. I have the configure editor, iscelleditable, and oncelledited all enabled. I have other columns that are edited by manually entering text, but I want a dropdown list in one to limit the choices. Here’s the code in the configureEditor function.

if colName == ‘Downtime Cause’:  
return {‘Cause’: [(0, ‘Supplier/Quality Issue’), (1, ‘Not in Stock/Inventory Descrepency’), (2, ‘Manufacturing/Controls Engineer’)]}

Once I enable this, whichever colName I put in just becomes unable to be selected at all. I’m very confused as to what is causing this.

---

<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:** [November 1, 2018, 5:56pm UTC](https://forum.inductiveautomation.com/t/configureeditor-dropdown-not-selectable/20488/2 "2018-11-01T17:56:16Z")

</div>

> [@brendan.curran](#):
>
> `return {'Cause': [(0, 'Supplier/Quality Issue'), (1, 'Not in Stock/Inventory Descrepency'), (2, 'Manufacturing/Controls Engineer')]}`

Your returned dictionary needs to have the literal string `options` as the key that contains the list:  
`return {'options': [(0, 'Supplier/Quality Issue'), (1, 'Not in Stock/Inventory Descrepency'), (2, 'Manufacturing/Controls Engineer')]}`

---

<div class="post-metadata">

**Author:** ![brendan.curran](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@brendan.curran](https://forum.inductiveautomation.com/u/brendan.curran)\
**Post date:** [November 1, 2018, 6:35pm UTC](https://forum.inductiveautomation.com/t/configureeditor-dropdown-not-selectable/20488/3 "2018-11-01T18:35:31Z")

</div>

This was the problem, thanks.
