Question Editor API Initialization
white_list
If the element property set to "question"
, then this option is used to configure the white list of attributes that will be passed into Question / Feature renderer.
This is usually one/some of the other properties defined which you want to render here to set the correct answer by rendering an instance of your Question.
It can also be used as a way to restricted which properties are passed in, e.g. omitting "stimulus"
so that it's not shown in the view to select the correct answer.
Examples
"white_list": [
"options",
"multiple_responses",
"is_math",
"ui_style",
"min_selection",
"max_selection"
]
Values
Attribute path custom_question_types.editor_schema.attributes.my_custom_attribute_name.white_list
Type array