Class IgxColumnMaxLengthValidatorDirective

Hierarchy

Hierarchy

  • MaxLengthValidator
    • IgxColumnMaxLengthValidatorDirective

Constructors

Properties

maxlength: string | number

Description

Tracks changes to the maximum length bound to this directive.

ɵdir: unknown
ɵfac: unknown

Methods

  • Description

    Determines whether this validator should be active or not based on an input. Base class implementation checks whether an input is defined (if the value is different from null and undefined). Validator classes that extend this base class can override this function with the logic specific to a particular validator directive.

    Parameters

    • input: unknown

    Returns boolean

  • Nodoc

    Parameters

    • changes: SimpleChanges

    Returns void

  • Nodoc

    Parameters

    • fn: (() => void)
        • (): void
        • Returns void

    Returns void

  • Nodoc

    Parameters

    • control: AbstractControl<any, any>

    Returns ValidationErrors