# Statements

Component displaying statements

![](https://content.gitbook.com/content/2CssJT0zIo4SJQLbSZ6l/blobs/hMtmSJGbzuVt0wALDqwN/6s_files/image2025-5-16_13-27-44.png)

## Component properties

<table><thead><tr><th>Eximee Designer property</th><th width="180.8834228515625">Attribute name in the Source</th><th>Description</th></tr></thead><tbody><tr><td><strong>List of statements</strong><br>(section <strong>Basic properties</strong>)</td><td>items</td><td><p>List of defined statements to display. The button <strong>Add statement</strong> <img src="https://content.gitbook.com/content/2CssJT0zIo4SJQLbSZ6l/blobs/sGW5KpHOmef4nULNqBl2/6s_files/image2022-12-19_12-6-56.png" alt=""> opens a drawer <strong>List of statements</strong> used to define "items". We create statements in <a href="oswiadczenia-statements/edytor-oswiadczen">Statements editor</a>.</p><p></p></td></tr><tr><td><strong>List of masterCheckboxes</strong><br>(section <strong>Basic properties</strong>)<br></td><td>masterCheckboxes</td><td><p>List of defined master checkboxes. </p><p>The availability of functionality depends on the license and may not be available in all deployments.</p><p>Functionality described in more detail within <a href="oswiadczenia-statements/wiele-master-checkboxow-w-komponencie-oswiadczen">Multiple master checkboxes in the declarations component</a> and <a href="https://wiki.consdata.pl/pages/viewpage.action?pageId=364692758">Visibility of a single master checkbox</a>.</p></td></tr><tr><td><strong>Value of a checked statement</strong><br>(section <strong>Basic properties</strong>)</td><td>valueYes</td><td>The value a statement takes when it is checked - by default, if no other value is set, the value "true" is returned.</td></tr><tr><td><strong>Value of an unchecked statement</strong><br>(section <strong>Basic properties</strong>)</td><td>valueNo</td><td>The value a statement takes when it is unchecked - by default, if no other value is set, the value "false" is returned.</td></tr><tr><td><strong>Condition for collapsing/expanding the component</strong><br>(section <strong>Other</strong>)</td><td>expandableCondition</td><td><p>Condition for which the text to collapse/expand the entire statements component should be displayed under or next to the main checkbox (depending on the implementation). When set to "false", the component is expanded and cannot be collapsed (the collapse text is not displayed). If the condition is empty or invalid, the value "false" will be evolved. <strong>If the property is unconditionally set to "false" there is no point in setting the "Condition for a default expanded component" field, because the entire content will always be displayed</strong>.</p><p><em>For conditions using other components you must define the appropriate <strong>listening</strong>on the component.</em></p></td></tr><tr><td><strong>Condition for a default expanded component</strong><br>(section <strong>Other</strong>)</td><td>expandedCondition</td><td><p>When the field  <strong>Condition for collapsing/expanding the component</strong> is set to "true", the property decides whether the component is expanded or collapsed by default. The statements component is expanded by default for the value "true". If the condition is empty or invalid, the value "true" will be evolved.</p><p><em>For conditions using other components you must define the appropriate listening on the component.</em></p></td></tr></tbody></table>

> More information about component properties: [Common component properties](https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/interfejs-uzytkownika/formularze/praca-z-komponentami-bazowymi/wspolne-wlasciwosci-komponentow)

## **Statement title**

The statement title comes from the key defined in the **Translations**tab. The statement content comes from the **Formatted content** artifact (details -> [Creating and attaching the Content artifact](https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/tresc-textcontent/tworzenie-i-podpiecie-artefaktu-tresc)). One or several controls can be assigned to the content of each statement. Depending on flags, either the whole component or the content of a single statement can be expandable. Statements can have one master checkbox (the main checkbox of the component controlling the statements' checkboxes) or several master checkboxes (description → [Multiple master checkboxes in the declarations component](https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/oswiadczenia-statements/wiele-master-checkboxow-w-komponencie-oswiadczen)).

<figure><img src="https://2112972046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2CssJT0zIo4SJQLbSZ6l%2Fuploads%2FurYuCue3hZvNJiHqccO7%2Fimage2025-5-26_8-15-36.png?alt=media&#x26;token=6672f769-d762-4c68-a437-c9252d6ceb43" alt="" width="563"><figcaption><p align="center"><em><strong>Illustration 1.</strong> Example appearance of the component on the application</em></p></figcaption></figure>

{% hint style="info" %}
Demo request: demoStatements
{% endhint %}

{% hint style="info" %}
&#x20;♿WCAG: [WCAG best practices for low-code dev](https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/proces-biznesowy/tworzenie-procesu-biznesowego-w-bpmn-2.0/dobre-praktyki)
{% endhint %}
