type
Option
Option is one allowed value and its author-facing label for a select field.
Properties
| Property | Type | Description |
|---|---|---|
Value | string | Value is the exact string stored in documents and sent over APIs. |
Label | string | Label is the author-facing name shown in selection controls. When omitted, resolution generates it from Value. |
LabelTranslations | map[string]string | LabelTranslations overrides Label for configured admin interface languages. |
Full signature
type Option struct {
// Value is the exact string stored in documents and sent over APIs.
Value string
// Label is the author-facing name shown in selection controls.
// When omitted, resolution generates it from Value.
Label string
// LabelTranslations overrides Label for configured admin interface languages.
LabelTranslations map[string]string
}