- How to properly bind data from a database to a
ComboBoxso that it always contains relevant data for the sample, usingMVVM? - How to make the opportunity not just to select an element from the
ComboBox, but also to give the user the opportunity to enter the name of the element with the possibility of auto-completion.
Let the user need to choose the name of the city. He enters "М" and the prompt "Мадрид" immediately appears, but if he continues to enter a name that is not in the database, say "Мюнхен" , then a field should appear with the ability to choose from which country this city is.