mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
a4ebe8656e
The Validator and AsyncValidator interfaces provide a callback, `registerOnValidatorChange(fn)`. `registerOnValidatorChange` is supposed to be fired at least once to register `fn` with the validator. `fn` is then called by the validator whenever its inputs change. This was previously not happening for FormGroup validators, and is now fixed. PR Close #41971