Interface Simple<TValue>

Simple input validator.

Type Parameters

  • TValue

    Input value type.

Hierarchy

  • Simple

Methods

Methods

  • Validates the user input.

    This method is called each time input value changes. The returned messages then reported by input validation aspect.

    Parameters

    • control: InControl<TValue>

      Input control to validate.

    Returns undefined | null | Message | Message[]

    Either validation message, array of validation messages, or null/unknown to indicate their absence.

Generated using TypeDoc