Selectmenu: Properly parse value from options

Fixes #10684