Button UDR(3.3)
The Button UDR
is used to create a button.
There are different design variants to choose from:
The following fields are included in the Button UDR
:
Field | Description |
---|---|
attributes (map<string,string>) | This field may contain extra attributes to be added. |
buttonType (string) | This field may contain the type of the button. Possible values are:
|
buttonVariant (string) | This field may contain the variant of the button. The text needs to follow Bootstrap. Some constants are added to help: |
components (list<ComponentUDR>) | This field may contain a list of child components. |
cssClasses (list<string>) | This field may contain a list of extra values added to class attribute. This is typically used to style the component. Please read more on Bootstrap. |
dialog (Dialog UDR) | This field may contain a Dialog UDR if the button should open a dialog. If the Dialog UDR have the field addAutomatic it will also be added to the page. |
disabled (boolean) | This field may contain a boolean if the component should be disabled or enabled. |
id (string) | This field may contain the id of the component |
name (string) | This field may contain the name of the component |
text (string) | This field may contain the text on the button. It will be added as a child component. |