Selectmenu: Correctly update checkboxes in non-native multiselect list

Closes gh-7774
Fixes gh-7732
Selectmenu: Fix up coding style

Closes gh-7806