This is a lower-level API. Lower-level APIs are not recommended for most projects, and may not be available on all plans. See our page on recommended deployment patterns for more information.
Initialization Option Question Editor API

exclude_options

Combination of object key and array value to remove unwanted option(s) from dropdown input.

The key is the attribute path of the property. See here on how to find attribute paths. If the path has an index in it (e.g. [0]) then just remove that to affect all indexes.

The value must be the value stored in the JSON when selected, not the dropdown text. E.g. you could remove "xlarge", and "xxlarge" fontsizes from all question types - see example below) or Math question type's custom action group.

Note: this will be overridden for individual question types set in question_types.[questionTypeName].exclude_options.

Examples

"base_question_type": {
    "exclude_options": {
        "ui_style.fontsize": ["xlarge", "xxlarge"]
    }
}

Values

Request object key base_question_type.exclude_options

Type object

This object has the following properties which can be configured.

Was this article helpful?