Friday, October 3, 2014

AngularJS: Input type number and maxlength fix

Well, there might be situations that you need to limit the number of characters that you are allowing the user to enter in a numerical text field. Therefore, here's a fix for angularJS.


* Click here to access the demo that I have created on 'JSFiddle'.
^ Click here to test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code
  editor.

2 comments:

  1. not work with AngularJS 1.4.7...

    ReplyDelete
  2. Nice directive, works perfectly here. Thanks Bro!

    ReplyDelete