fix(forms): temp roll back breaking change with min/max directives

With 4.2, we introduced the min and max validator directives. This was actually a breaking change because
their selectors could include custom value accessors using the min/max properties for their own purposes.

For now, we are rolling back the change by removing the exports.

Closes #17491.
This commit is contained in:
Kara Erickson
2017-06-15 17:24:41 -07:00
committed by Hans
parent 956a7e95d7
commit 232bd9395d
4 changed files with 77 additions and 91 deletions

View File

@ -58,9 +58,7 @@ export const SHARED_FORM_DIRECTIVES: Type<any>[] = [
NgControlStatus,
NgControlStatusGroup,
RequiredValidator,
MinValidator,
MinLengthValidator,
MaxValidator,
MaxLengthValidator,
PatternValidator,
CheckboxRequiredValidator,