kstep/angular.js — comment on commit a08100e125402d8e32a540f5079117ca0bbf44cb
File:  line 0
By IgorMinar:

1. ok, I guess that makes sense.
2. makes sense too - I'm glad that we have a valid motivation for extending the api, I don't like to add features without seeing a strong benefit they provide.
3. the issue with maxlength is that it won't let you type once the limit is reached. so it's not so much a validation feature as input restriction. I propose that we use ng:minlength and ng:maxlength which will be truely just about validation and not about input restriction. For me a good UI allows me to type what I want, and then tells me which input fields contain invalid content that I need to fix.
4. I agree

combining maxlength and ng:maxlength gives you more options than hijacking maxlength alone. so let's head down that path.

in order for this commit to make it into the codebase we'll also need tests, can you add them to the test/widget/inputSpec.js file?