Selectmenu: Introduce _renderButtonItem() method

Fixes #10142
Closes gh-1299