# Inspectable list values in component inspector

**URL:** https://forum.kirupa.com/t/inspectable-list-values-in-component-inspector/311700
**Category:** flash
**Created:** [July 14, 2010, 11:33am UTC](https://forum.kirupa.com/t/inspectable-list-values-in-component-inspector/311700 "2010-07-14T11:33:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![benkyma](https://avatars.discourse-cdn.com/v4/letter/b/f08c70/32.png) [@benkyma](https://forum.kirupa.com/u/benkyma)
#### Post date: [July 14, 2010, 11:33am UTC](https://forum.kirupa.com/t/inspectable-list-values-in-component-inspector/311700/1 "2010-07-14T11:33:32Z")

</div>

How can I code an inspectable list into my class so that my the list values are selectable in the component inspector?

I have them appearing fine in the component definition panel, but the values entered here seem to be overridden by the component inspector and the var doesn’t appear here unless I enter it manually and then there’s no way to make it a list.

In my class I have:

```auto

        [Inspectable(defaultValue="controls", type="list", enumeration="controls,noControls")]
        public var controlValue;

```

Or I suppose, more simply, how can I get the Component Inspector to respond to the code in the component’s class in the same way that the Component Definition Panel does?
