Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InvalidValueAct<T>

Communicates that a value is invalid.

Typically, 'invalid' means that a value cannot be used in business functions with the implication that it must be corrected or retracted before the user can complete their task.

Note that a value can become invalid due to external causes as the validation rules can access other controls and context.

Default rendering (en-US): "Sorry, (renderedReason)."

Usage:

  • Controls should override the render and provide more detail about the specific problem by rendering the reasonCode.

Type parameters

  • T

Hierarchy

Implements

Constructors

Properties

Methods

Constructors

constructor

Properties

control

control: Control

Readonly payload

takesInitiative

takesInitiative: boolean

Methods

render

toString

  • toString(): string
  • Produces a string representation of the SystemAct.

    The associated Control.id is included but the complete details of the associate Control are omitted for brevity.

    Returns string