类型 QuestionnaireData

API 文档由 Go 源码生成,内容为英文。

type QuestionnaireData struct {
	Progress    string
	Title       string
	Description string
	ChoiceType  QuestionnaireChoiceType
	// Invalid marks the item as failing validation: its choices and input get
	// the destructive border (the official item invalid state).
	Invalid bool
}

QuestionnaireData contains root/item metadata. Progress is a caller-formatted tabular label such as "2 of 5"; no question index is stored internally.