angular/packages/forms/src
iRealNirmal d9d8f950e9 feat(forms): allow disabling min/max validators dynamically (by setting the value to null) (#42978)
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
2021-09-24 10:35:31 -07:00
..
directives feat(forms): allow disabling min/max validators dynamically (by setting the value to null) (#42978) 2021-09-24 10:35:31 -07:00
directives.ts perf(forms): make RadioControlRegistry class tree-shakable (#41126) 2021-03-16 09:35:14 -07:00
form_builder.ts perf(forms): make FormBuilder class tree-shakable (#41126) 2021-03-16 09:35:14 -07:00
form_providers.ts perf(forms): make RadioControlRegistry class tree-shakable (#41126) 2021-03-16 09:35:14 -07:00
forms.ts feat(forms): introduce min and max validators (#39063) 2021-02-08 09:34:50 -08:00
model.ts feat(forms): Make Form Statuses use stricter types. (#42952) 2021-08-04 16:28:20 -07:00
validators.ts feat(forms): add hasValidators, addValidators, and removeValidators methods (for both sync and async) (#42838) 2021-07-22 16:31:00 +00:00
version.ts docs: fix package name in version.ts files in different packages (#41208) 2021-05-10 10:26:34 -04:00