-
Bug
-
Resolution: Fixed
-
Normal
-
8.0.2
-
None
-
Security Level: Jimmy
-
None
-
ZK 8.0.2 S2
Select an item, then invalidate.
Reproduced with:
<zk> <zscript> ListModelList myModel = new ListModelList(Locale.getAvailableLocales()); ListModel mySubModel = ListModels.toListSubModel(myModel); </zscript> <vlayout id="hl"> <chosenbox id="myCb" style="min-width:75px;" hflex="1" creatable="true" model="${mySubModel}" onSelect='myLb.setModel(new ListModelList(myModel.getSelection()));' name="chosenboxinput"> </chosenbox> <listbox id="myLb"/> <button onClick="hl.invalidate();">Invalidate</button> <button onClick='System.out.println(myModel.getSelection());'> getSelection </button> </vlayout> </zk>