dsar_form
Last updated
Last updated
LayoutComponent
❌ Theme ✅ Options ❌ Content & Translations
First, take a look at the mapping between options
properties and widget elements in these three visuals below.
To edit Privacy request widget design, you need to edit the layout-component dsar_form
by sending a PATCH request on /widgets/layout-components/{layout-component-id}
and specifying options in options
property.
Be careful when you are editing the options
property. This is a JSONB and by design, you need to fill in every properties already added every time you edit this object.
Element | Description | Component options |
---|---|---|
| Container of Privacy request widget | |
| Title of widget | |
| Button to validate first step of form | |
| Button to go back to first step | |
| Button to submit the form | |
| Hint at the bottom of second step | |
| Error message when the request was not created after submitted | |
| Title in confirmation step | |
| Description in confirmation step | |
| Close button to go back to first step from confirmation step | |
| Wrapper of buttons in second step | |
| Wrapper of back button in second step | |
| Wrapper of confirm button in second step | |
| Loader in confirm button in second step when clicked |
Element | Description | Component options |
---|---|---|
| Title in second step | |
| Description in second step | |
| Radio buttons in first step |
Element | Description | Component options |
---|---|---|
| Label of a radio button | |
| Background color of a radio button | |
| Radio circle of a radio button | |
| Border radius of a radio button | |
| Padding of a radio button | |
| Background of radio circle of a radio button | |
| Border of radio circle of a radio button |
Element | Description | Component options |
---|---|---|
| Text input |
We have gathered all elements and their options in the following object. You can use it to edit the dsar_form
options by sending a PATCH request on /widgets/layout-components/{layout-component-id}
.