Select component. If you want to place a select with an ID of
my-id on a page, use
The component will automatically display as a Material Design select on Android.
Most attributes that can be used for a normal
<select> component can also be used on the
VOnsSelect component is used to display a select box with an arbitrary number of options.
There are several attributes that can be used to customize the behavior of the element. These are the same attributes as those that can be used for the regular HTML
Please check the Onsen UI Reference documentation for a complete reference of the enabled attributes.
|Element automatically gains focus on page load. Optional.
|Specify if select input should be disabled. Optional.
|Associate a select component to an existing form on the page, even if not nested. Optional.
|If this attribute is defined, multiple options can be selected at once. Optional.
|Name the select component, useful for instance if it is part of a form. Optional.
|Make the select input required for submitting the form it is part of. Optional.
|ID given to the inner select, useful for dynamic manipulation. Optional.
|How many options are displayed; if there are more than the size then a scroll appears to navigate them. Optional.
|Displays a Material Design select input.
|Displays a horizontal line underneath a select input.
For bug reports and feature requests use our GitHub Issues page.