Select component. If you want to place a select with an ID of my-id
on a page, use <ons-select select-id="my-id">
.
The component will automatically display as a Material Design select on Android.
Most attributes that can be used for a normal <select>
element can also be used on the <ons-select>
element.
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 <select>
element.
Please check the Onsen UI Reference documentation for a complete reference of the enabled attributes.
Name | Description |
---|---|
material | Displays a Material Design select input. |
underbar | Displays a horizontal line underneath a select input. |
If you have any questions, use our Community Forum or talk to us on Discord chat. The Onsen UI team and your peers in the community will work together to help solve your issues.
For bug reports and feature requests use our GitHub Issues page.