This example creates a custom layout for the drop-down list.
The layout of the control is based on its data, status, and options.
The layout is automatically rebuilt when changes are made to the values of fields, states, or options
that are used in its text template.
A drop-down list by default responds to a click on its layout and
changes the value of the field state.get('expanded').