The CheckBox UDR
is used to create a checkbox.
The following fields are included in the CheckBox UDR
:
Field | Description |
---|---|
attributes (map<string,string>) | This field may contain extra attributes to be added. |
checked (boolean) | This field may contain a boolean if the checkbox should be checked by default (when the page loads). |
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. |
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 |
label (string) | This field must may contain the label for the checkbox. |
labelCssClasses (list<string>) | This field may contain a list of extra values added to class attribute of the label. This is typically used to style the component. Please read more on Bootstrap. |
name (string) | This field may contain the name of the component. It is mandatory if the component is present in a Form UDR. This field will be used as key in Params Map in Request UDR. |
required (boolean) | This field may contain a boolean if the component is required. Typically used inside a Form UDR. |
value (string) | This field may contain a value that should be submitted when it is used inside a Form UDR. Default is on. |
Add Comment