Interface BlacklistValidatorConfig

interface BlacklistValidatorConfig {
    enabled?: boolean;
    errorMessage?: string;
    instant?: boolean;
    values:
        | string
        | number
        | string[]
        | number[];
}

Hierarchy (view full)

Properties

enabled?: boolean

If the validator should validate/run.

errorMessage?: string

Custom error message.

instant?: boolean

If the validator should validate on each change.

values:
    | string
    | number
    | string[]
    | number[]