angular/packages/forms/src
Sonu Kapoor 8fb83ea1b5 feat(forms): introduce min and max validators (#39063)
This commit adds the missing `min` and `max` validators.

BREAKING CHANGE:

Previously `min` and `max` attributes defined on the `<input type="number">`
were ignored by Forms module. Now presence of these attributes would
trigger min/max validation logic (in case `formControl`, `formControlName`
or `ngModel` directives are also present on a given input) and
corresponding form control status would reflect that.

Fixes #16352

PR Close #39063
2021-02-08 09:34:50 -08:00
..
directives feat(forms): introduce min and max validators (#39063) 2021-02-08 09:34:50 -08:00
directives.ts feat(forms): introduce min and max validators (#39063) 2021-02-08 09:34:50 -08:00
form_builder.ts docs: improve FormBuilder.group deprecation message (#39946) 2020-12-04 10:18:48 -08:00
form_providers.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
forms.ts feat(forms): introduce min and max validators (#39063) 2021-02-08 09:34:50 -08:00
model.ts fix(forms): allow patchValue() method of FormGroup and FormArray classes to skip null values (#40534) 2021-01-25 11:42:26 -08:00
validators.ts docs(forms): typo word "property" was missing (#40323) 2021-01-06 08:44:03 -08:00
version.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00