{"action":"created","issue":{"url":"https://api.github.com/repos/ractivejs/ractive/issues/1968","labels_url":"https://api.github.com/repos/ractivejs/ractive/issues/1968/labels{/name}","comments_url":"https://api.github.com/repos/ractivejs/ractive/issues/1968/comments","events_url":"https://api.github.com/repos/ractivejs/ractive/issues/1968/events","html_url":"https://github.com/ractivejs/ractive/issues/1968","id":77708926,"number":1968,"title":"Two-way binding does not work when the name attribute is before the type attribute","user":{"login":"such","id":1303925,"avatar_url":"https://avatars.githubusercontent.com/u/1303925?v=3","gravatar_id":"","url":"https://api.github.com/users/such","html_url":"https://github.com/such","followers_url":"https://api.github.com/users/such/followers","following_url":"https://api.github.com/users/such/following{/other_user}","gists_url":"https://api.github.com/users/such/gists{/gist_id}","starred_url":"https://api.github.com/users/such/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/such/subscriptions","organizations_url":"https://api.github.com/users/such/orgs","repos_url":"https://api.github.com/users/such/repos","events_url":"https://api.github.com/users/such/events{/privacy}","received_events_url":"https://api.github.com/users/such/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-18T15:54:47Z","updated_at":"2015-05-18T18:32:07Z","closed_at":null,"body":"Hello,\r\n\r\nAs you can see in this [jsfiddle](http://jsfiddle.net/bxxoq5pc/1/), two-way binding does not work when the name attribute is before the \"type=checkbox\" attribute. If the two attributes are switched, the \"Select red\" button will work perfectly.\r\n\r\nThis issue hit me hard because my template is generated with haml that automatically reorders attributes alphabetically.\r\n\r\nAttributes order is not supposed to matter in HTML so it should be fixed or at least made clear in the documentation!\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/ractivejs/ractive/issues/comments/103163286","html_url":"https://github.com/ractivejs/ractive/issues/1968#issuecomment-103163286","issue_url":"https://api.github.com/repos/ractivejs/ractive/issues/1968","id":103163286,"user":{"login":"Madgvox","id":7494949,"avatar_url":"https://avatars.githubusercontent.com/u/7494949?v=3","gravatar_id":"","url":"https://api.github.com/users/Madgvox","html_url":"https://github.com/Madgvox","followers_url":"https://api.github.com/users/Madgvox/followers","following_url":"https://api.github.com/users/Madgvox/following{/other_user}","gists_url":"https://api.github.com/users/Madgvox/gists{/gist_id}","starred_url":"https://api.github.com/users/Madgvox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Madgvox/subscriptions","organizations_url":"https://api.github.com/users/Madgvox/orgs","repos_url":"https://api.github.com/users/Madgvox/repos","events_url":"https://api.github.com/users/Madgvox/events{/privacy}","received_events_url":"https://api.github.com/users/Madgvox/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T18:32:07Z","updated_at":"2015-05-18T18:32:07Z","body":"I'm sorry, I'm not seeing any issue in your fiddle. It seems to be working perfectly as far as I can tell. The only thing I'm seeing is an 'ambiguous reference' warning, due to the attribute `selectedColors` not being previously defined."}}