Selectmenu: Introduce _renderButtonItem method

Fixes #10142
Uhh, yeah. Seems I missed that when squashing the commits. Thanks!