-
Bug
-
Resolution: Fixed
-
Major
-
10.0.0.FL
-
None
Steps to Reproduce
<searchbox model="@init(vm.model)" multiple="true" autoclose="true" viewModel="@id('vm')@init('org.zkoss.test.SearchboxVM')"> <template name="model"> <label value="@load(each)"/> </template> </searchbox>
- run with 10.0.0.FL.20231005
- open browser developer tool
- select 1st item in a searchbox
Current Result
clientbind.wpd:3 Uncaught TypeError: n.selectedUuids.map is not a function
at b._fireModelSelectionChange (clientbind.wpd:3:435586)
at b.onSelect (clientbind.wpd:3:435340)
at z.fireX (zk.wpd:5:1140070)
at b.fireOnSelect (clientbind.wpd:3:439079)
at e.close (zkmax.inp.wpd:3:41868)
at e._doSelectItem (zkmax.inp.wpd:3:39329)
at e._doItemClick (zkmax.inp.wpd:3:37478)
at HTMLDivElement.dispatch (zk.wpd:5:156033)
at s.handle (zk.wpd:5:154028)
at e.invokeTask (clientbind.wpd:3:337564)
the popup cannot be closed
Expected Result
no error
can close the popup