简体   繁体   English

Flex DropDownList没有选择项目

[英]Flex DropDownList doesn't select item

I have an implementation for a drop-down list. 我有一个下拉列表的实现。 All the values are there, however it doesn't allow the user to select an item with the mouse instead of just with the arrow keys. 所有值都在那里,但是不允许用户使用鼠标而不是仅使用箭头键来选择项目。

    <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>

The first drop-down list is my actual implementation. 第一个下拉列表是我的实际实现。 The second one is a test. 第二个是测试。 I have the same problem with both drop-down lists. 两个下拉列表都存在相同的问题。

The DropdownList is not supported in the mobile device profile. 移动设备配置文件中不支持DropdownList。 There are some opensource implementations that add support for this, and they're quite good : https://www.flextras.com/index.cfm?event=ProductHome&productID=21 有一些开源实现对此提供了支持,它们非常好: https ://www.flextras.com/index.cfm?event=ProductHome&productID =21

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM