我们如何通过sencha touch实现Combobox?
我尝试使用selectfield
但是当我在Android手机上安装我的应用时,选择字段不起作用。
答案 0 :(得分:1)
xtype: 'selectfield',
label: 'Choose one',
options: [
{text: 'First Option', value: 'first'},
{text: 'Second Option', value: 'second'},
{text: 'Third Option', value: 'third'}
]
这是来自sencha网站的代码。选择字段适用于Android。您的代码中肯定存在其他问题。