-
New Feature
-
Resolution: Done
-
Normal
-
7.0.5
-
None
-
Security Level: Jimmy
-
None
-
ZK 8.6.0 S1, ZK 8.6.0 S2
-
None
In affects version, Listbox will throw “Unsupported Listgroup in Select mold!” if we use a Listgroup in the "select" mold.
But ZK doesn't have a corresponding component like <optgroup> and <select> (http://www.w3schools.com/tags/tag_optgroup.asp)
Workaround
<combobox model="@load(vm.itemList) @template(each.group?'group':'item')" readonly="true" selectedIndex="@bind(vm.selectedIndex)" selectedItem="@bind(vm.selectedItem)"> <template name="group"> <comboitem label="@load(each)" style="font-weight:bold" disabled="true"/> </template> <template name="item"> <comboitem label="@load(each)" /> </template> </combobox>
- relates to
-
ZK-4159 listbox (mold="select") re-renders after first au response
- Closed