Affects Version/s: 18.104.22.168
Fix Version/s: None
Click on the button
Open select, choose Item 2
Open select, choose Item 1
Only the first onSelect event after clicking button is triggered, other selections after that fail to trigger
selection should work
Caused by desync between listbox._selectedIndex and individual listitem.isSelected() at client-side.
When selecting item2 after triggering the model / selection replacement, item2 becomes selected, but item1 doesn't become unselected, because the listbox.clearSelection() tries to unselect the previous listitem widget (from listbox._selItems), instead of unselecting the currently selected item.
listbox.invalidate(); after setting model / selection