Moved method to main app
Handled case where there's only one option value – don't show dropdown,

simply choose that option by default and display it as a property