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
Description
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