Flex DropDownList不选择项目

时间:2014-02-25 16:09:48

标签: flex flash-builder mxml

我有一个下拉列表的实现。所有值都在那里,但是它不允许用户使用鼠标而不是仅使用箭头键来选择项目。

    <s:FormItem label="Food:">

        <s:DropDownList id="dropDownList" 
                        dataProvider="{foodList.lastResult.Food_Display_Table.Food_Display_Row}" 
                        labelField="Display_Name" 
                        />
        <s:DropDownList id="TEST">
            <s:dataProvider>
                <mx:ArrayList>
                    <fx:String>Red</fx:String>
                    <fx:String>Orange</fx:String>
                    <fx:String>Yellow</fx:String>
                    <fx:String>Blue</fx:String>
                    <fx:String>Green</fx:String>
                </mx:ArrayList>
            </s:dataProvider>
        </s:DropDownList>
    </s:FormItem>
</s:Form>

第一个下拉列表是我的实际实现。第二个是测试。我对两个下拉列表都有同样的问题。

1 个答案:

答案 0 :(得分:0)

移动设备配置文件中不支持DropdownList。有一些开源实现增加了对此的支持,它们非常好:https://www.flextras.com/index.cfm?event=ProductHome&productID=21

相关问题