items
An array containing items that will be rendered as the options of the select.
Example
select.items = [
{ label: 'Most recent first', value: 'recent' },
{ component: 'hr' },
{ label: 'Rating: low to high', value: 'rating-asc', className: 'asc' },
{ label: 'Rating: high to low', value: 'rating-desc', className: 'desc' },
{ component: 'hr' },
{ label: 'Price: low to high', value: 'price-asc', disabled: true },
{ label: 'Price: high to low', value: 'price-desc', disabled: true }
];Content copied to clipboard
Note: each item is rendered by default as the internal <vaadin-select-item> that is an extension of <vaadin-item>. To render the item with a custom component, provide a tag name by the component property.