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.
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}
.
Element | Description | Component options |
---|---|---|
Element | Description | Component options |
---|---|---|
Element | Description | Component options |
---|---|---|
Element | Description | Component options |
---|---|---|
card
Container of Privacy request widget
formTitle
Title of widget
firstStepButton
Button to validate first step of form
backButton
Button to go back to first step
secondStepButton
Button to submit the form
formHint
Hint at the bottom of second step
sendRequestErrorMessage
Error message when the request was not created after submitted
successMessageTitle
Title in confirmation step
successMessageDescription
Description in confirmation step
closeIcon
Close button to go back to first step from confirmation step
formButtonsWrapper
Wrapper of buttons in second step
backButtonWrapper
Wrapper of back button in second step
secondStepButtonWrapper
Wrapper of confirm button in second step
loader
Loader in confirm button in second step when clicked
title
Title in second step
description
Description in second step
radioOptions
Radio buttons in first step
label
Label of a radio button
backgroundColor
Background color of a radio button
circleColor
Radio circle of a radio button
borderRadius
Border radius of a radio button
padding
Padding of a radio button
circleBackgroundColor
Background of radio circle of a radio button
borderColor
Border of radio circle of a radio button
formFieldsOptions
Text input