fieldSet
The fieldSet component helps group related items on a view, making it easier to understand.
XML Element |
|
|---|---|
Java Class |
|
Attributes |
General: id - enabled - legendText - text - visible |
Data Binding: dataContainer - property |
|
Size: height - maxHeight - maxWidth - minHeight - minWidth - width |
|
Look & Feel: classNames - css - themeNames - whiteSpace |
|
Other: ariaLabel - ariaLabelledBy - title |
|
Handlers |
Basics
To use the component, wrap the components you want to group inside it, and optionally add a legendText for a title.
<fieldSet legendText="Group" classNames="border rounded-m text-secondary flex flex-col">
<textField label="TextField"/>
<checkbox label="Checkbox"/>
</fieldSet>
Attributes
Common attributes serve the same purpose for all components.
The following attributes are specific to fieldSet:
Name |
Description |
Default |
|---|---|---|
Provides a caption or title for the grouped fields. |
– |
Was this page helpful?
Thank you for your feedback