save

LayoutComponent ❌ Theme ✅ Options ✅ Content & Translations

To edit a save element, you need to edit the layout-component save and send a PATCH request on /widgets/layout-component/{layout-component-id} and specify the following options in the options property.

{
    "guidelineText": {
        "content": {
            "en": "You have {numberOfPendingConsent} changes pending, do you want to save?",
            "fr": "Vous avez {numberOfPendingConsent} changements non enregistrés, voulez-vous sauvegarder?"
        }
    },
    "saveButton": {
        "text": {
            "content": {
                "en": "YOUR_LABEL",
                "fr": "VOTRE_LABEL"
            }
        }
    },
    "card": {
        "style": {
           "default": {
              "backgroundColor": "",
              "padding": "",
              "borderRadius": "",
              "borderWidth": "",
              "boxShadow": "",
              "margin": "",
           }
        }    
    }
}

Last updated