Options
All
  • Public
  • Public/Protected
  • All
Menu

model interface for Decision Tree question with response

Hierarchy

Index

Properties

choices?: { title: string; value: string }[]

The available choices for ChoiceSet and MultiChoiceSet questions.

dataType: QuestionType

The data type of the question response.

description?: string

Optional description providing extra context for the question. Rendered as an info-icon tooltip next to the field label. Enriched at render time from the element's field config.

errorMessage?: string

Optional custom error message to display when validation fails. Enriched at render time from the element's field config.

mandatory: boolean

Indicates whether the question is mandatory.

options?: string[]

The options available for multiple choice questions.

placeholderText?: string

Optional placeholder text shown inside the input when empty. Enriched at render time from the element's field config.

questionId: string

The unique identifier for the question.

questionResponse: DecisionTreeInputValue

The response provided for the question.

questionText: string

The text of the question.

Generated using TypeDoc