Differentiated solution for detail box ui elements, take select box if there are many entries, otherwise list