In another sample, we showed how to inherit from the TextField class to add new functionality to these fields. The same approach is used in this sample that illustrates how to display a ComboBox with possible options from which the user can choose.
Feel free to contact me to discuss further possibilities or applications for this approach.
Please have a look at the full article and source code here: