The <option> Tag
Purpose
The <option> tag renders a select option (i.e., it is mapped to an HTML <option> element).
Requirements
An <option> tag has to be embedded in a <select> tag.
Attributes
Attribute groups: %coreattrs, %i18n and %events.
| Name | Description |
|---|---|
| disabled | Mapped to the HTML attribute of the same name. |
| selected | Mapped to the HTML attribute of the same name, if no current value is available. |
| value | Required - Mapped to the HTML attribute of the same name. The value has to be a valid key in the group model of the enclosing <select> tag. |
Body
The <option> tag requires a body containing the label for the entry in the selection list.


