The input dialog can accept data of any type, including integer, double, and text. In this recipe, we will learn to get text from the user. We will make use of an input dialog to know the name of the country in which the user lives.
The input dialog box will display a combo box showing different country names. On choosing a country by name, the chosen country name will appear in the textbox.