@paysafe/paysafe-wallet-saas-web
    Preparing search index...

    Interface OptionsValidationRule

    Validation rule using options.

    interface OptionsValidationRule {
        id: string;
        message: string;
        options: string[] | ValidationOption[];
    }
    Index

    Properties

    Properties

    id: string

    The validation identifier.

    message: string

    The validation message.

    options: string[] | ValidationOption[]

    List of valid options for the field. Can be strings (raw API response) or objects (enriched with localization).