-
Bug
-
Resolution: Fixed
-
Normal
-
8.0.2
-
None
-
Security Level: Jimmy
-
None
-
ZK 8.0.3 S5, ZK 8.0.3 S6, ZK 8.0.3 S7, ZK 8.0.3 S9
-
None
steps to reproduce
- load the attached file
- click the "add" button 4 times
result
watch the console output, it always re-creates all visible Listitem again for each adding.
{"rs":[["setAttr",[{$u:'w3wP1'},"itemsInvalid_",[[
['zul.sel.Listitem','w3wPdf',{_loaded:true,_index:0},{},[
['zul.sel.Listcell','w3wP2i',Unknown macro: {label},{},[]]]]],[
...
['zul.sel.Listitem','w3wPzh',{_loaded:true,_index:48},{},[
['zul.sel.Listcell','w3wPdj',Unknown macro: {label},{},[]]]]],[
['zul.sel.Listitem','w3wP0i',{_loaded:true,_index:49},{},[
['zul.sel.Listcell','w3wPej',Unknown macro: {label},{},[]]]]]]]],["setAttr",[{$u:'w3wP1'},"_offset",0]],["setAttr",[{$u:'w3wP1'},"totalSize",302]]],"rid":2}
expected
only create one item for newly added entry
debug info
- this issue doesn't happen when ROD is disabled.