Roqueform
    Preparing search index...

    Function default

    • Enhances fields with error management methods.

      Type Parameters

      • Error = any

        The error associated with the field.

      Parameters

      • concatErrors: ErrorsConcatenator<Error> = concatUniqueErrors

        The callback that returns the new array of errors that includes the given error, or returns the original errors array if there are no changes. By default, only identity-based-unique errors are added.

      Returns FieldPlugin<any, ErrorsMixin<Error>>