mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
It can be useful for a developer to set `NaN` as the value for a number input, as a way to say "clear the input". However, directly setting this value to the `.valueAsNumber` causes a console warning. This PR fixes the console warning by just doing `.value = ''` when we would otherwise to `.valueAsNumber = NaN` |
||
|---|---|---|
| .. | ||
| global | ||
| primitives | ||
| resources | ||
| rxjs-interop | ||
| schematics | ||
| src | ||
| test | ||
| testing | ||
| BUILD.bazel | ||
| index.ts | ||
| package.json | ||
| PACKAGE.md | ||
| public_api.ts | ||
| tsconfig-build.json | ||
| tsconfig-test.json | ||