• Preparing search index...
  • The search index is not available
roqueform-external-errors-plugin - v0.0.2
  • roqueform-external-errors-plugin
  • externalErrorsPlugin

Function externalErrorsPlugin

  • externalErrorsPlugin<ExternalError, Error>(errorAssociator?): PluginInjector<ExternalErrorsPlugin<ExternalError, Error>>
  • The plugin that associates external errors with fields using adopters.

    Type Parameters

    • ExternalError = any

      The external error that can be adopted by the field.

    • Error = ExternalError

      The error that is associated with the field.

    Parameters

    • errorAssociator: ((field, error) => void) = defaultErrorAssociator

      Associates an error with the field. By default, ErrorsPlugin.addError is used.

        • (field, error): void
        • Parameters

          • field: BareField<any, any>
          • error: Error

          Returns void

    Returns PluginInjector<ExternalErrorsPlugin<ExternalError, Error>>

Settings

Member Visibility

Theme

roqueform-external-errors-plugin - v0.0.2
  • Loading...