{"action":"created","issue":{"url":"https://api.github.com/repos/PolymerElements/iron-form/issues/32","labels_url":"https://api.github.com/repos/PolymerElements/iron-form/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/PolymerElements/iron-form/issues/32/comments","events_url":"https://api.github.com/repos/PolymerElements/iron-form/issues/32/events","html_url":"https://github.com/PolymerElements/iron-form/issues/32","id":96411030,"number":32,"title":"HTML Form submit event not being triggered","user":{"login":"tjsavage","id":348551,"avatar_url":"https://avatars.githubusercontent.com/u/348551?v=3","gravatar_id":"","url":"https://api.github.com/users/tjsavage","html_url":"https://github.com/tjsavage","followers_url":"https://api.github.com/users/tjsavage/followers","following_url":"https://api.github.com/users/tjsavage/following{/other_user}","gists_url":"https://api.github.com/users/tjsavage/gists{/gist_id}","starred_url":"https://api.github.com/users/tjsavage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjsavage/subscriptions","organizations_url":"https://api.github.com/users/tjsavage/orgs","repos_url":"https://api.github.com/users/tjsavage/repos","events_url":"https://api.github.com/users/tjsavage/events{/privacy}","received_events_url":"https://api.github.com/users/tjsavage/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PolymerElements/iron-form/labels/needs%20move","name":"needs move","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"tjsavage","id":348551,"avatar_url":"https://avatars.githubusercontent.com/u/348551?v=3","gravatar_id":"","url":"https://api.github.com/users/tjsavage","html_url":"https://github.com/tjsavage","followers_url":"https://api.github.com/users/tjsavage/followers","following_url":"https://api.github.com/users/tjsavage/following{/other_user}","gists_url":"https://api.github.com/users/tjsavage/gists{/gist_id}","starred_url":"https://api.github.com/users/tjsavage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjsavage/subscriptions","organizations_url":"https://api.github.com/users/tjsavage/orgs","repos_url":"https://api.github.com/users/tjsavage/repos","events_url":"https://api.github.com/users/tjsavage/events{/privacy}","received_events_url":"https://api.github.com/users/tjsavage/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-07-21T20:37:51Z","updated_at":"2015-09-24T22:24:17Z","closed_at":null,"body":"_From @tjsavage on July 21, 2015 20:37_\n\n_From @steelbrain on July 21, 2015 1:3_\n\nConsider you have the following markup\r\n```html\r\n<form id=\"form\" action=\"javascript:\" method=\"post\">\r\n  <input type=\"text\" name=\"username\" />\r\n</form>\r\n<script>\r\nvar form = document.getElementById(\"form\")\r\nform.on('submit', function(e){\r\n  e.preventDefault()\r\n  console.log(\"Hey\")\r\n})\r\n</script>\r\n```\r\nnow if you focus the input element and press enter, the submit event won't be triggered.\r\nNow if you add `<button>Something</button>` without the form bounds, pressing enter after focusing the event or clicking the button, both would work.\r\nNow if you replace that button with a paper-button `<paper-button raised>Hey</paper-button>`, submit will be impossible again because there's no `button` in the form.\r\nNow if you add `is=\"iron-form\"` to the tag, and the form will be submitted by the paper-button now but it won't trigger the native `submit` event, not even the `iron-form-submit` event.\r\n\r\nI am using Google Chrome 43.0.2357.134\n\n_Copied from original issue: Polymer/polymer#2128_\n\n_Copied from original issue: PolymerElements/paper-button#34_"},"comment":{"url":"https://api.github.com/repos/PolymerElements/iron-form/issues/comments/143065904","html_url":"https://github.com/PolymerElements/iron-form/issues/32#issuecomment-143065904","issue_url":"https://api.github.com/repos/PolymerElements/iron-form/issues/32","id":143065904,"user":{"login":"MichaelXavier","id":15840,"avatar_url":"https://avatars.githubusercontent.com/u/15840?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelXavier","html_url":"https://github.com/MichaelXavier","followers_url":"https://api.github.com/users/MichaelXavier/followers","following_url":"https://api.github.com/users/MichaelXavier/following{/other_user}","gists_url":"https://api.github.com/users/MichaelXavier/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelXavier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelXavier/subscriptions","organizations_url":"https://api.github.com/users/MichaelXavier/orgs","repos_url":"https://api.github.com/users/MichaelXavier/repos","events_url":"https://api.github.com/users/MichaelXavier/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelXavier/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T22:24:17Z","updated_at":"2015-09-24T22:24:17Z","body":"Bumping this issue. Does anyone know why this happens?"}}