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

shown_sections

Define which attribute sections should be shown in this question type.

Common use cases for shown_sections would be if you want to show the more options content by default (e.g. add "more_options.content" to shown_sections and "more_options.heading" to hidden_sections) or if you want to hide a section except in one particular question type (e.g. put the hidden section in base_question_type and show the section in question_types).

If you'd like to specify your own sections, you can use a custom editor layout.

Values

Request object key base_question_type.shown_sections

Type array[string]

Related articles

Was this article helpful?