Initialization Option Author API

save

Controls whether the save button is shown on the Widget (Question or Feature) editor view, for example, when editing or creating a Widget.

You would want to use this to hide the save button in the navigation bar in the Widget editor view.

Setting the widget_templates.back and widget_templates.save initialization options to false hides the entire toolbar in the Widget editor view.

Examples

// Hide the save button
var initializationOptions = {
    "config": {
        "widget_templates": {
            "save": false
        }
    }
};

Values

Request object key config.widget_templates.save

Default: true

Type boolean

Was this article helpful?