mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
d9d8f950e9
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