Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

ng-pattern conflicts with ng-minlength #7277

Closed
anton000 opened this issue Apr 28, 2014 · 1 comment
Closed

ng-pattern conflicts with ng-minlength #7277

anton000 opened this issue Apr 28, 2014 · 1 comment

Comments

@anton000
Copy link

Using ng-minlength and ng-pattern in the same input directive seems cause the ng-minlength directive to be neglected until ng-pattern is valid.

try input: Ab0

http://jsfiddle.net/DmUp2/5/

@lgalfaso
Copy link
Contributor

Hi @anton000 this is a known issue and is the result of validations being part of the $formatters pipeline. There are some talks to change this in 1.3 (#6928) but I doubt that such a breaking change will make it into the 1.2 branch
I am closing this issue as there are other issues open to track this specific problem, but feel free to open if there is some extra information

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants