DominoKit/domino-ui

calling clear value for multiselect box will repeat the call for change listener by the number of selected items.

Closed this issue · 0 comments

if I have 3 items selected. I get at least 4 changed notifications plus a clear notification when delete is clicked. I think the intermediary change notifications are too much, only the final change and clear should be sent

In AbstractSelect line 209 calls clearValue(false)...in that function line 269 calls item.deselect(silent) which is false, so item.deselect() triggers discreet changeevents. changing it to item.deselect(true) prevents the discreet events, but I dont know what would be the unintended side efects of that change.