mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
376b71ea1c
The `required()` validator treats `null`, `undefined`, `''`, `false` and `NaN` as empty, but the API
docs never defined "empty" at all and the validation guide listed only `null` and `''`.
(cherry picked from commit 467b37b4b4)