Home > Guides > Tag Developers Guide > Struts Tags > Tag Reference > UI Tag Reference > optgroup |

Apache Struts 2 Documentation
optgroup
Edit Page Browse Space Add Page Add News
Icon

Please make sure you have read the Tag Syntax document and understand how tag attribute syntax works.

## Description

Create a optgroup component which needs to resides within a select tag.

Icon

This component is to be used within a Select component.

## Parameters

#### Dynamic Attributes Allowed: false
#### Name | #### Required | #### Default | #### Evaluated | #### Type | #### Description
--- | --- | --- | --- | --- | ---
disabled | false |  | false | String | Set the disable attribute.
label | false |  | false | String | Set the label attribute
list | false |  | false | String | Set the list attribute.
listKey | false |  | false | String | Set the listKey attribute.
listValue | false |  | false | String | Set the listValue attribute.

## Examples