Question Editor API Initialization
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
Attribute path base_question_type.exclude_options
Type object
Properties
-
[optionKey] string