0 votes
in Onsen UI by
Select Component in onsen ui

1 Answer

0 votes
by
This is used to render a drop down on a page.

It supports all the props that a normal HTML select tag supports.

Two important props are multiple and size.

Multiple is used when more than one option needs to be selected.

size decides the maximum number of options to be displayed, after that a scroll bar appears

Example:

<Ons.Select id="choices">

            <option value="Samsung">Samsung</option>

            <option value="Apple">Apple</option>

            <option value="HTC">HTC</option>

          </Ons.Select>

Related questions

0 votes
asked Feb 7, 2020 in Onsen UI by DavidAnderson
0 votes
0 votes
0 votes
asked Feb 7, 2020 in Onsen UI by DavidAnderson
...