{"comment":{"created_at":"2011-10-19T17:40:34Z","body":"Rebased my version on top of your work.\r\nAlso included one small bugfix: the ng:pattern spoiled my patterns but cutting trailing char from my patterns, so ng:pattern=\"/^\\S+$/\" was turned into /^\\S+/, not to /^\\S+$/ as it should be.","updated_at":"2011-10-19T17:40:34Z","url":"https://api.github.com/repos/angular/angular.js/issues/comments/2458817","id":2458817,"user":{"avatar_url":"https://secure.gravatar.com/avatar/f5c2892a7af4b03bea857e773fc601c3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f5c2892a7af4b03bea857e773fc601c3","url":"https://api.github.com/users/kstep","id":28537,"login":"kstep"}},"action":"created","issue":{"number":601,"created_at":"2011-10-17T23:22:20Z","pull_request":{"diff_url":"https://github.com/angular/angular.js/pull/601.diff","patch_url":"https://github.com/angular/angular.js/pull/601.patch","html_url":"https://github.com/angular/angular.js/pull/601"},"body":"First I added missing validation method based on field length. I use \"minlength\" and \"maxlength\" <input/>'s attributes to set min and max value length, and set input.$error.MINLENGTH and input.$error.MAXLENGTH in case field's value is too short/long.\r\n\r\nThe second commit a fix: &lt;input type=\"password\" /> kept converted to &lt;input type=\"text\" /> by angular.js, which made it effectively useless for forms handling. I added \"password\" type to the list of correct HTML5 input types","comments":5,"title":"Length-based validation + \"password\" is correct input field type","updated_at":"2011-10-19T17:40:34Z","url":"https://api.github.com/repos/angular/angular.js/issues/601","id":1934697,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/f5c2892a7af4b03bea857e773fc601c3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f5c2892a7af4b03bea857e773fc601c3","url":"https://api.github.com/users/kstep","id":28537,"login":"kstep"},"html_url":"https://github.com/angular/angular.js/issues/601","labels":[],"state":"open"},"legacy":{"issue_id":1934697,"comment_id":2458817}}