SelectBox: it is checked that value is non-empty only if selectbox has any options [Closes #5]