Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

FormController $setValidity documentation: signature doesn't match implementation signature #15963

Closed
@fixermark

Description

@fixermark

I'm submitting a ...

  • [ x ] bug report

Current behavior:

Documentation for $setValidity shows its signature as

$setValidity();

Implementation actually takes three arguments: the validation error key, the state to set the key to, and a "controller" third argument that (based on how it's used) appears to be the controller for the edit form.

Expected / new behavior:

Please update documentation to match implementation. A code snippet would also help to clarify the meaning of the arguments.

Angular version: master branch

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions