Back to API Reference
Class

SupportingTextDecorator

sealed

Drives a text target with helper text, replacing it with the validation message and an error color while the field is invalid. The supporting-text slot of a form field.

public UniTextBase Target{ get; set }

Text component that displays helper or validation text.

public string Helper{ get; set }

Guidance shown while the field has no validation error.

public Color ErrorColor{ get; set }

Colour used while the field has a validation error.

protected override void OnAttach()
protected override void OnDetach()
protected override void OnFieldState()