angular/packages/forms/test
iRealNirmal 751cd83ae3 fix(forms): the min and max validators should work correctly with 0 as a value (#42412)
Prior to this change the `min` and `max` validator directives would not
set the `min` and `max` attributes on the host element. The problem was
caused by the truthy check in host binding expression that was
calculated as `false` when `0` is used as a value. This commit updates
the logic to leverage nullish coalescing operator in these host binding
expressions, so `0` is treated as a valid value, thus the `min` and
`max` attributes are set correctly.

Partially closes #42267

PR Close #42412
2021-06-03 11:34:46 -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 test: clean up internal testing utilities (#42177) 2021-05-26 20:07:25 +00:00
form_builder_spec.ts test: clean up internal testing utilities (#42177) 2021-05-26 20:07:25 +00:00
form_control_spec.ts test: clean up internal testing utilities (#42177) 2021-05-26 20:07:25 +00:00
form_group_spec.ts test: clean up internal testing utilities (#42177) 2021-05-26 20:07:25 +00:00
reactive_integration_spec.ts fix(forms): the min and max validators should work correctly with 0 as a value (#42412) 2021-06-03 11:34:46 -07:00
template_integration_spec.ts fix(forms): the min and max validators should work correctly with 0 as a value (#42412) 2021-06-03 11:34:46 -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 test: clean up internal testing utilities (#42177) 2021-05-26 20:07:25 +00: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