Magento 2.1.18 is the final 2.1.x release. After June 2019, Magento 2.1.x will no longer receive security patches, quality fixes, or documentation updates.
To maintain your site's performance, security, and PCI compliance, upgrade to the latest version of Magento.

Select component

The Select component provides the interface for a list or a data set. With this component, the user can select only one item.

Configuration options

Option Description Type Default
caption Caption for DOM select element. String ''
elementTmpl The path to the .html template of the particular type of field (select). String ui/form/element/select
options The array of the options to be displayed in the list for selection. Array []
component The path to the component’s .js file in terms of RequireJS. String Magento_Ui/js/form/element/select
template The path to the general field .html template. String ui/form/field
Updated