Attributes |
Name | Required | Request-time | Type | Description |
cssClass | false | true | java.lang.String | Sets a CSS class for styling this component. |
data | false | true | java.util.Map | Takes a set of data and passes it as HTML data attributes. For example, the HashMap<"class-name", foo> would render as the attribute data-class-name = foo; . |
disabled | false | true | boolean | Sets whether the component is disabled. The default value is false . |
label | false | true | java.lang.Object | Sets the text to display as the option in the select form. |
selected | false | true | boolean | Sets whether the option is selected when the component loads. The default value is false . |
style | false | true | java.lang.String | Sets the styling for the option component. For example, to align the text to the right you would specify text-align:right; . |
useModelValue | false | true | boolean | No Description |
value | false | true | java.lang.Object | Sets the option's value. If no value is given, the value is taken from the label attribute. |