mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit updates the logic of the `min` and `max` validators to allow disabling them dynamically in case `null` is provided as a value. For example: `<input type="number" [min]="minValue">`, when `minValue` might be set to `null` in a component class. This should allow `min` and `max` validators to be used for dynamic forms. Note: similar support was added to the `minLength` and `maxLength` validators earlier (see #42565). PR Close #42978 |
||
|---|---|---|
| .. | ||
| directives | ||
| directives.ts | ||
| form_builder.ts | ||
| form_providers.ts | ||
| forms.ts | ||
| model.ts | ||
| validators.ts | ||
| version.ts | ||