ActionFieldΒΆ
-
/libs/granite/ui/components/coral/foundation/form/actionfield
The container to render a field with an action (usually a submit button) beside it.
It extends
Field
component.It has the following content structure:
- granite:ActionField
- field
The actual field of this action field.
fieldLabel
andfieldDescription
properties of the field are recognized and rendered accordingly for this layout.
- action
The action of this action field.
Example:
+ usersearch - sling:resourceType = "granite/ui/components/coral/foundation/form" + items + myfield - sling:resourceType = "granite/ui/components/coral/foundation/form/actionfield" + field - sling:resourceType = "granite/ui/components/coral/foundation/form/textfield" - fieldLabel = "User" - fieldDescription = "Type in the user name to search" + action - sling:resourceType = "granite/ui/components/coral/foundation/button" - type = "submit" - text = "Search"