Selectmenu: Fix up coding style

Closes gh-7806