Flex DropDownList项目不可点击

时间:2016-07-08 19:34:20

标签: actionscript-3 flex flex4

我正在使用Flex应用程序并且遇到DropDownList问题 - 单击列表中的任何项目只会关闭列表而不是选择项目。我并不仅仅意味着我的变更事件没有被调用 - 下拉列表中当前选择的项目明显没有变化。

DropDownList使用默认外观。这是代码:

<s:VGroup width="100%" horizontalAlign="center" verticalAlign="middle">
    <s:Label text="Make a selection:" />
    <s:DropDownList id="dropdownList" dataProvider="{optionsArrayList}" width="100%" selectedIndex="0" change="_onListSelectionChange(event);" />
</s:VGroup>

为什么单击列表项会关闭列表而不更改选择?

0 个答案:

没有答案