Skip to content

[min] and [max] pipes doesn't work #18204

@vadjs

Description

@vadjs

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

Looks like [min] and [max] pipes not working now.

Expected behavior

Using min and max attributes should add validators for Angular forms.

Minimal reproduction of the problem with instructions

https://plnkr.co/edit/MfUJ7wbLsaDT7uOYgD1e?p=preview - here is modified example form that have min/max validators that doen't work.

What is the motivation / use case for changing the behavior?

Fix non-working code.

Environment


Angular version: 4.3.0


Browser:
- ALL
- [x] Chrome (desktop) version XX
- [x] Chrome (Android) version XX
- [x] Chrome (iOS) version XX
- [x] Firefox version XX
- [x] Safari (desktop) version XX
- [x] Safari (iOS) version XX
- [x] IE version XX
- [x] Edge version XX
 
For Tooling issues:
- Node version: 8.1.3  
- Platform:  Windows

Others:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions