angular/packages/forms/test
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
..
BUILD.bazel test: disable failing saucelabs tests (#36620) 2020-04-14 10:13:33 -07:00
directives_spec.ts test: clean up internal testing utilities (#42177) 2021-05-26 20:07:25 +00:00
form_array_spec.ts fix(forms): changes to status not always being emitted to statusChanges observable for async validators. (#42553) 2021-06-14 09:57:57 -07:00
form_builder_spec.ts feat(forms): add hasValidators, addValidators, and removeValidators methods (for both sync and async) (#42838) 2021-07-22 16:31:00 +00:00
form_control_spec.ts feat(forms): add hasValidators, addValidators, and removeValidators methods (for both sync and async) (#42838) 2021-07-22 16:31:00 +00:00
form_group_spec.ts fix(forms): changes to status not always being emitted to statusChanges observable for async validators. (#42553) 2021-06-14 09:57:57 -07:00
reactive_integration_spec.ts feat(forms): allow disabling min/max validators dynamically (by setting the value to null) (#42978) 2021-09-24 10:35:31 -07:00
template_integration_spec.ts feat(forms): allow disabling min/max validators dynamically (by setting the value to null) (#42978) 2021-09-24 10:35:31 -07:00
util.ts refactor(forms): refactor common validators used in unit tests (#38020) 2020-07-22 20:42:43 -07:00
validators_spec.ts feat(core): support TypeScript 4.3 (#42022) 2021-06-04 11:17:09 -07:00
value_accessor_integration_spec.ts feat(core): update reference and doc to change async to waitAsync. (#37583) 2020-08-03 12:54:13 -07:00