-
Bug
-
Resolution: Fixed
-
Normal
-
8.5.1.2
-
None
-
Security Level: Jimmy
-
None
-
ZK 8.6.0 S1
-
None
Steps to Reproduce
1. visit the zul with chrome device simulator, iPad
<listbox id="lb" width="150px" multiple="true" checkmark="false"> <listitem forEach="1,2,3,4,5" label="item ${each}"/> </listbox>
2. select 1st item
3. select 2nd item
Current Result
both items are selected
Expected Result
only the 2nd item is selected
Debug Information
- with a desktop browser, this issue doesn't happen
- ensure that the spec is "if no checkmark, selecting one item will de-select others, on desktop and mobile browsers.
Workaround
- override zul.select.SelectWidget._doItemSelect()
if (evt.data.ctrlKey || evt.data.metaKey || (zk.mobile && !this.getCheckmark()))
- relates to
-
ZK-1690 checkmarkDeselectOthers property doesn't work for touch device
- Closed