AlphaGit / ng-pattern-restrict

Allowing only certain inputs based on a regex pattern, for AngularJS
http://alphagit.github.io/ng-pattern-restrict/
MIT License
47 stars 32 forks source link

Angular 1.5 and 1.6 support #47

Closed sinner closed 7 years ago

sinner commented 7 years ago

Now we are migrating all our code to the new features of Angular 1.5 and 1.6 and this bower.json definition is giving us a lot of problems...

AlphaGit commented 7 years ago

Hi @sinner, thanks for the heads up. I'll reserve some time to test it out in Angular 1.5 and 1.6 and update the tests. If everything goes right, we can just upgrade what we support. Otherwise, it may take a little longer to ensure that everything works right.

(BTW, I love your username. :) )

AlphaGit commented 7 years ago

Hi! I just noticed that the current bower definition is "angular": "^1.2.27 ^1.3.0", which means that 1.5 and 1.6 should be allowed.

While this is a mistake (I didn't intend to allow them freely), it should not be giving you any problems. What problems are you exactly having?

miclill commented 7 years ago

Works for me with angular 1.6 as far as I can tell.

AlphaGit commented 7 years ago

Hey @sinner, would you mind to let me know what problems are you having exactly?