简体   繁体   English

Sencha Touch SelectField问题

[英]Sencha Touch SelectField Issue

I am creating a form with two cascading select fields in Sencha Touch 1.1. 我在Sencha Touch 1.1中创建带有两个级联选择字段的表单。

在此处输入图片说明

After selecting a Make, the model list is filtered so that only the Models related to the Make get displayed. 选择“制造”后,将过滤模型列表,以便仅显示与“制造”相关的模型。 After the first selection the list appears correctly. 第一次选择后,列表将正确显示。

在此处输入图片说明

If another Make is selected with more Models than the first selection, the data is correct but the layout is not. 如果选择的“其他品牌”中的“模型”数量多于第一个“品牌”,则数据正确,但布局不正确。

在此处输入图片说明

How can I fix the layout of the list after the items are refreshed? 刷新项目后如何确定列表的布局?

What is your target device(s)? 您的目标设备是什么? One thing I have noticed is that using Sencha-Touch in a desktop browser can have some display issues when compared to running it on an iPad simulator or device. 我注意到的一件事是,与在iPad模拟器或设备上运行Sencha-Touch相比,在桌面浏览器中使用Sencha-Touch可能会出现一些显示问题。 Assuming Windows Safari is not your target browser I suggest testing it on your target device/simulator and see if it still happens. 假设Windows Safari不是您的目标浏览器,建议您在目标设备/模拟器上对其进行测试,看看是否仍然存在。

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

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