roqueform-external-errors-plugin - v0.0.3
    Preparing search index...

    Interface ExternalErrorsMixin<ExternalError, Error>

    The plugin that associates external errors with fields using adapters.

    interface ExternalErrorsMixin<ExternalError, Error> {
        externalErrorAdapters: ExternalErrorAdapter<ExternalError, Error>[];
        setExternalErrors(
            externalErrors: undefined | null | ExternalError[],
            options?: SetExternalErrorsOptions<ExternalError, Error>,
        ): ExternalError[];
    }

    Type Parameters

    • ExternalError

      The external error that can be adapted by the field.

    • Error

      The error that is associated with the field.

    Index

    Properties

    externalErrorAdapters: ExternalErrorAdapter<ExternalError, Error>[]

    An array of adapters that associate errors with this field.

    Methods