{"action":"created","issue":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/7678","labels_url":"https://api.github.com/repos/cakephp/cakephp/issues/7678/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/7678/comments","events_url":"https://api.github.com/repos/cakephp/cakephp/issues/7678/events","html_url":"https://github.com/cakephp/cakephp/issues/7678","id":116263476,"number":7678,"title":"api documentation for FormHelper has inaccurate information","user":{"login":"freedomfflow","id":1050740,"avatar_url":"https://avatars.githubusercontent.com/u/1050740?v=3","gravatar_id":"","url":"https://api.github.com/users/freedomfflow","html_url":"https://github.com/freedomfflow","followers_url":"https://api.github.com/users/freedomfflow/followers","following_url":"https://api.github.com/users/freedomfflow/following{/other_user}","gists_url":"https://api.github.com/users/freedomfflow/gists{/gist_id}","starred_url":"https://api.github.com/users/freedomfflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freedomfflow/subscriptions","organizations_url":"https://api.github.com/users/freedomfflow/orgs","repos_url":"https://api.github.com/users/freedomfflow/repos","events_url":"https://api.github.com/users/freedomfflow/events{/privacy}","received_events_url":"https://api.github.com/users/freedomfflow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cakephp/cakephp/labels/Defect","name":"Defect","color":"f7c6c7"},{"url":"https://api.github.com/repos/cakephp/cakephp/labels/documentation","name":"documentation","color":"FFFFFF"},{"url":"https://api.github.com/repos/cakephp/cakephp/labels/helpers","name":"helpers","color":"ffffff"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cakephp/cakephp/milestones/65","html_url":"https://github.com/cakephp/cakephp/milestones/3.1.5","labels_url":"https://api.github.com/repos/cakephp/cakephp/milestones/65/labels","id":1396949,"number":65,"title":"3.1.5","description":"Bugfixes and optimizations for 3.1.x","creator":{"login":"markstory","id":24086,"avatar_url":"https://avatars.githubusercontent.com/u/24086?v=3","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"open_issues":25,"closed_issues":19,"state":"open","created_at":"2015-11-06T03:58:46Z","updated_at":"2015-11-11T10:03:58Z","due_on":"2015-11-28T05:00:00Z","closed_at":null},"comments":3,"created_at":"2015-11-11T04:39:03Z","updated_at":"2015-11-11T13:07:44Z","closed_at":null,"body":"http://api.cakephp.org/3.1/source-class-Cake.View.Helper.FormHelper.html#_select\r\n\r\nlines 1817 and 1818:\r\n1816:      * $options = [\r\n1817:      *     ['name' => 'United states', 'value' => 'USA'],\r\n1818:      *     ['name' => 'USA', 'value' => 'USA'],\r\n1819:      * ];\r\n\r\n'name' is not valid, it should be 'text'.\r\n\r\nUsing 'name' causes undesired output as the select options are not created properly."},"comment":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/comments/155782166","html_url":"https://github.com/cakephp/cakephp/issues/7678#issuecomment-155782166","issue_url":"https://api.github.com/repos/cakephp/cakephp/issues/7678","id":155782166,"user":{"login":"ADmad","id":142658,"avatar_url":"https://avatars.githubusercontent.com/u/142658?v=3","gravatar_id":"","url":"https://api.github.com/users/ADmad","html_url":"https://github.com/ADmad","followers_url":"https://api.github.com/users/ADmad/followers","following_url":"https://api.github.com/users/ADmad/following{/other_user}","gists_url":"https://api.github.com/users/ADmad/gists{/gist_id}","starred_url":"https://api.github.com/users/ADmad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ADmad/subscriptions","organizations_url":"https://api.github.com/users/ADmad/orgs","repos_url":"https://api.github.com/users/ADmad/repos","events_url":"https://api.github.com/users/ADmad/events{/privacy}","received_events_url":"https://api.github.com/users/ADmad/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T13:07:44Z","updated_at":"2015-11-11T13:07:44Z","body":"Just modify the text you pointed out in `FormHelper.php` file. Check github docs on how to fork a repo, modify required file and submit a pull request thereafter."}}