function resolveText(value: TextReference | FieldError | string | null | undefined, fallback?: string): string; The text to show for a value of a TextReference member: the reference formatted in the window's language (textLocale), its fallbackText when it cannot be formatted or no Translations runtime is configured, then fallback, then its key. A string is shown as it is, so a member may carry either; null and undefined show fallback or "". For a validation error: resolveText(error.text, error.message). A field's FieldError shows the application's text for it (fieldErrorText). The text is plain: show it as text, never as HTML.