Renders a list of HTML 'option' tags. Sets 'selected' as appropriate based on bound value.
表 E.8. Attributes
Attribute | Required? | Runtime Expression? |
---|---|---|
htmlEscape |
false |
true |
Enable/disable HTML escaping of rendered values. | ||
itemLabel |
false |
true |
Name of the property mapped to the inner text of the 'option' tag | ||
items |
true |
true |
The Collection, Map or array of objects used to generate the inner 'option' tags | ||
itemValue |
false |
true |
Name of the property mapped to 'value' attribute of the 'option' tag |