fixes to make comboboxes show string enums correctly

I could unfortunately only test it with strings