{"action":"opened","number":3112,"pull_request":{"url":"https://api.github.com/repos/Dogfalo/materialize/pulls/3112","id":68512521,"html_url":"https://github.com/Dogfalo/materialize/pull/3112","diff_url":"https://github.com/Dogfalo/materialize/pull/3112.diff","patch_url":"https://github.com/Dogfalo/materialize/pull/3112.patch","issue_url":"https://api.github.com/repos/Dogfalo/materialize/issues/3112","number":3112,"state":"open","locked":false,"title":"Add support for HTML5 attribute maxlength for max character count on inputs and textareas","user":{"login":"derekrliang","id":7356969,"avatar_url":"https://avatars.githubusercontent.com/u/7356969?v=3","gravatar_id":"","url":"https://api.github.com/users/derekrliang","html_url":"https://github.com/derekrliang","followers_url":"https://api.github.com/users/derekrliang/followers","following_url":"https://api.github.com/users/derekrliang/following{/other_user}","gists_url":"https://api.github.com/users/derekrliang/gists{/gist_id}","starred_url":"https://api.github.com/users/derekrliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekrliang/subscriptions","organizations_url":"https://api.github.com/users/derekrliang/orgs","repos_url":"https://api.github.com/users/derekrliang/repos","events_url":"https://api.github.com/users/derekrliang/events{/privacy}","received_events_url":"https://api.github.com/users/derekrliang/received_events","type":"User","site_admin":false},"body":"Adds enhancement for https://github.com/Dogfalo/materialize/issues/3108.\r\n\r\nThis adds character count support for HTML5 attribute \"maxlength\", meaning you don't have to have the \"length\" attribute in order for character count to work. However, if you have both, it will choose \"length\" over \"maxlength\".\r\n\r\nAlso note that \"maxlength\" is a hard limit on character count so the form doesn't let you enter more characters after that length, so having both \"length\" and \"maxlength\" at the same length or \"length\" more than \"maxlength\" would be meaningless. However, \"length\" less than \"maxlength\" would validate the input still but have a hard limit of \"maxlength\".","created_at":"2016-05-02T00:13:00Z","updated_at":"2016-05-02T00:13:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Dogfalo/materialize/pulls/3112/commits","review_comments_url":"https://api.github.com/repos/Dogfalo/materialize/pulls/3112/comments","review_comment_url":"https://api.github.com/repos/Dogfalo/materialize/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Dogfalo/materialize/issues/3112/comments","statuses_url":"https://api.github.com/repos/Dogfalo/materialize/statuses/5fc79c6567cd0b093d4fa035f5a3a81b3b6bbec3","head":{"label":"derekrliang:addmaxlengthcharactercount","ref":"addmaxlengthcharactercount","sha":"5fc79c6567cd0b093d4fa035f5a3a81b3b6bbec3","user":{"login":"derekrliang","id":7356969,"avatar_url":"https://avatars.githubusercontent.com/u/7356969?v=3","gravatar_id":"","url":"https://api.github.com/users/derekrliang","html_url":"https://github.com/derekrliang","followers_url":"https://api.github.com/users/derekrliang/followers","following_url":"https://api.github.com/users/derekrliang/following{/other_user}","gists_url":"https://api.github.com/users/derekrliang/gists{/gist_id}","starred_url":"https://api.github.com/users/derekrliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekrliang/subscriptions","organizations_url":"https://api.github.com/users/derekrliang/orgs","repos_url":"https://api.github.com/users/derekrliang/repos","events_url":"https://api.github.com/users/derekrliang/events{/privacy}","received_events_url":"https://api.github.com/users/derekrliang/received_events","type":"User","site_admin":false},"repo":{"id":56958810,"name":"materialize","full_name":"derekrliang/materialize","owner":{"login":"derekrliang","id":7356969,"avatar_url":"https://avatars.githubusercontent.com/u/7356969?v=3","gravatar_id":"","url":"https://api.github.com/users/derekrliang","html_url":"https://github.com/derekrliang","followers_url":"https://api.github.com/users/derekrliang/followers","following_url":"https://api.github.com/users/derekrliang/following{/other_user}","gists_url":"https://api.github.com/users/derekrliang/gists{/gist_id}","starred_url":"https://api.github.com/users/derekrliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekrliang/subscriptions","organizations_url":"https://api.github.com/users/derekrliang/orgs","repos_url":"https://api.github.com/users/derekrliang/repos","events_url":"https://api.github.com/users/derekrliang/events{/privacy}","received_events_url":"https://api.github.com/users/derekrliang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/derekrliang/materialize","description":"Materialize, a CSS Framework based on Material Design","fork":true,"url":"https://api.github.com/repos/derekrliang/materialize","forks_url":"https://api.github.com/repos/derekrliang/materialize/forks","keys_url":"https://api.github.com/repos/derekrliang/materialize/keys{/key_id}","collaborators_url":"https://api.github.com/repos/derekrliang/materialize/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/derekrliang/materialize/teams","hooks_url":"https://api.github.com/repos/derekrliang/materialize/hooks","issue_events_url":"https://api.github.com/repos/derekrliang/materialize/issues/events{/number}","events_url":"https://api.github.com/repos/derekrliang/materialize/events","assignees_url":"https://api.github.com/repos/derekrliang/materialize/assignees{/user}","branches_url":"https://api.github.com/repos/derekrliang/materialize/branches{/branch}","tags_url":"https://api.github.com/repos/derekrliang/materialize/tags","blobs_url":"https://api.github.com/repos/derekrliang/materialize/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/derekrliang/materialize/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/derekrliang/materialize/git/refs{/sha}","trees_url":"https://api.github.com/repos/derekrliang/materialize/git/trees{/sha}","statuses_url":"https://api.github.com/repos/derekrliang/materialize/statuses/{sha}","languages_url":"https://api.github.com/repos/derekrliang/materialize/languages","stargazers_url":"https://api.github.com/repos/derekrliang/materialize/stargazers","contributors_url":"https://api.github.com/repos/derekrliang/materialize/contributors","subscribers_url":"https://api.github.com/repos/derekrliang/materialize/subscribers","subscription_url":"https://api.github.com/repos/derekrliang/materialize/subscription","commits_url":"https://api.github.com/repos/derekrliang/materialize/commits{/sha}","git_commits_url":"https://api.github.com/repos/derekrliang/materialize/git/commits{/sha}","comments_url":"https://api.github.com/repos/derekrliang/materialize/comments{/number}","issue_comment_url":"https://api.github.com/repos/derekrliang/materialize/issues/comments{/number}","contents_url":"https://api.github.com/repos/derekrliang/materialize/contents/{+path}","compare_url":"https://api.github.com/repos/derekrliang/materialize/compare/{base}...{head}","merges_url":"https://api.github.com/repos/derekrliang/materialize/merges","archive_url":"https://api.github.com/repos/derekrliang/materialize/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/derekrliang/materialize/downloads","issues_url":"https://api.github.com/repos/derekrliang/materialize/issues{/number}","pulls_url":"https://api.github.com/repos/derekrliang/materialize/pulls{/number}","milestones_url":"https://api.github.com/repos/derekrliang/materialize/milestones{/number}","notifications_url":"https://api.github.com/repos/derekrliang/materialize/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/derekrliang/materialize/labels{/name}","releases_url":"https://api.github.com/repos/derekrliang/materialize/releases{/id}","deployments_url":"https://api.github.com/repos/derekrliang/materialize/deployments","created_at":"2016-04-24T07:02:42Z","updated_at":"2016-04-24T07:02:44Z","pushed_at":"2016-05-02T00:06:55Z","git_url":"git://github.com/derekrliang/materialize.git","ssh_url":"git@github.com:derekrliang/materialize.git","clone_url":"https://github.com/derekrliang/materialize.git","svn_url":"https://github.com/derekrliang/materialize","homepage":"http://materializecss.com","size":135673,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Dogfalo:master","ref":"master","sha":"77a44b11ee6ec6c2b87b7173013a5816adf03665","user":{"login":"Dogfalo","id":2775751,"avatar_url":"https://avatars.githubusercontent.com/u/2775751?v=3","gravatar_id":"","url":"https://api.github.com/users/Dogfalo","html_url":"https://github.com/Dogfalo","followers_url":"https://api.github.com/users/Dogfalo/followers","following_url":"https://api.github.com/users/Dogfalo/following{/other_user}","gists_url":"https://api.github.com/users/Dogfalo/gists{/gist_id}","starred_url":"https://api.github.com/users/Dogfalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dogfalo/subscriptions","organizations_url":"https://api.github.com/users/Dogfalo/orgs","repos_url":"https://api.github.com/users/Dogfalo/repos","events_url":"https://api.github.com/users/Dogfalo/events{/privacy}","received_events_url":"https://api.github.com/users/Dogfalo/received_events","type":"User","site_admin":false},"repo":{"id":23974149,"name":"materialize","full_name":"Dogfalo/materialize","owner":{"login":"Dogfalo","id":2775751,"avatar_url":"https://avatars.githubusercontent.com/u/2775751?v=3","gravatar_id":"","url":"https://api.github.com/users/Dogfalo","html_url":"https://github.com/Dogfalo","followers_url":"https://api.github.com/users/Dogfalo/followers","following_url":"https://api.github.com/users/Dogfalo/following{/other_user}","gists_url":"https://api.github.com/users/Dogfalo/gists{/gist_id}","starred_url":"https://api.github.com/users/Dogfalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dogfalo/subscriptions","organizations_url":"https://api.github.com/users/Dogfalo/orgs","repos_url":"https://api.github.com/users/Dogfalo/repos","events_url":"https://api.github.com/users/Dogfalo/events{/privacy}","received_events_url":"https://api.github.com/users/Dogfalo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Dogfalo/materialize","description":"Materialize, a CSS Framework based on Material Design","fork":false,"url":"https://api.github.com/repos/Dogfalo/materialize","forks_url":"https://api.github.com/repos/Dogfalo/materialize/forks","keys_url":"https://api.github.com/repos/Dogfalo/materialize/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Dogfalo/materialize/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Dogfalo/materialize/teams","hooks_url":"https://api.github.com/repos/Dogfalo/materialize/hooks","issue_events_url":"https://api.github.com/repos/Dogfalo/materialize/issues/events{/number}","events_url":"https://api.github.com/repos/Dogfalo/materialize/events","assignees_url":"https://api.github.com/repos/Dogfalo/materialize/assignees{/user}","branches_url":"https://api.github.com/repos/Dogfalo/materialize/branches{/branch}","tags_url":"https://api.github.com/repos/Dogfalo/materialize/tags","blobs_url":"https://api.github.com/repos/Dogfalo/materialize/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Dogfalo/materialize/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Dogfalo/materialize/git/refs{/sha}","trees_url":"https://api.github.com/repos/Dogfalo/materialize/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Dogfalo/materialize/statuses/{sha}","languages_url":"https://api.github.com/repos/Dogfalo/materialize/languages","stargazers_url":"https://api.github.com/repos/Dogfalo/materialize/stargazers","contributors_url":"https://api.github.com/repos/Dogfalo/materialize/contributors","subscribers_url":"https://api.github.com/repos/Dogfalo/materialize/subscribers","subscription_url":"https://api.github.com/repos/Dogfalo/materialize/subscription","commits_url":"https://api.github.com/repos/Dogfalo/materialize/commits{/sha}","git_commits_url":"https://api.github.com/repos/Dogfalo/materialize/git/commits{/sha}","comments_url":"https://api.github.com/repos/Dogfalo/materialize/comments{/number}","issue_comment_url":"https://api.github.com/repos/Dogfalo/materialize/issues/comments{/number}","contents_url":"https://api.github.com/repos/Dogfalo/materialize/contents/{+path}","compare_url":"https://api.github.com/repos/Dogfalo/materialize/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Dogfalo/materialize/merges","archive_url":"https://api.github.com/repos/Dogfalo/materialize/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Dogfalo/materialize/downloads","issues_url":"https://api.github.com/repos/Dogfalo/materialize/issues{/number}","pulls_url":"https://api.github.com/repos/Dogfalo/materialize/pulls{/number}","milestones_url":"https://api.github.com/repos/Dogfalo/materialize/milestones{/number}","notifications_url":"https://api.github.com/repos/Dogfalo/materialize/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Dogfalo/materialize/labels{/name}","releases_url":"https://api.github.com/repos/Dogfalo/materialize/releases{/id}","deployments_url":"https://api.github.com/repos/Dogfalo/materialize/deployments","created_at":"2014-09-12T19:35:38Z","updated_at":"2016-05-01T23:01:07Z","pushed_at":"2016-05-01T20:39:34Z","git_url":"git://github.com/Dogfalo/materialize.git","ssh_url":"git@github.com:Dogfalo/materialize.git","clone_url":"https://github.com/Dogfalo/materialize.git","svn_url":"https://github.com/Dogfalo/materialize","homepage":"http://materializecss.com","size":147667,"stargazers_count":18155,"watchers_count":18155,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2533,"mirror_url":null,"open_issues_count":896,"forks":2533,"open_issues":896,"watchers":18155,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Dogfalo/materialize/pulls/3112"},"html":{"href":"https://github.com/Dogfalo/materialize/pull/3112"},"issue":{"href":"https://api.github.com/repos/Dogfalo/materialize/issues/3112"},"comments":{"href":"https://api.github.com/repos/Dogfalo/materialize/issues/3112/comments"},"review_comments":{"href":"https://api.github.com/repos/Dogfalo/materialize/pulls/3112/comments"},"review_comment":{"href":"https://api.github.com/repos/Dogfalo/materialize/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Dogfalo/materialize/pulls/3112/commits"},"statuses":{"href":"https://api.github.com/repos/Dogfalo/materialize/statuses/5fc79c6567cd0b093d4fa035f5a3a81b3b6bbec3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":20,"deletions":6,"changed_files":3}}