{"action":"created","issue":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/7082","labels_url":"https://api.github.com/repos/cakephp/cakephp/issues/7082/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/7082/comments","events_url":"https://api.github.com/repos/cakephp/cakephp/issues/7082/events","html_url":"https://github.com/cakephp/cakephp/pull/7082","id":96328955,"number":7082,"title":"(2.x) FormHelper ignores value option","user":{"login":"yskkin","id":5965113,"avatar_url":"https://avatars.githubusercontent.com/u/5965113?v=3","gravatar_id":"","url":"https://api.github.com/users/yskkin","html_url":"https://github.com/yskkin","followers_url":"https://api.github.com/users/yskkin/followers","following_url":"https://api.github.com/users/yskkin/following{/other_user}","gists_url":"https://api.github.com/users/yskkin/gists{/gist_id}","starred_url":"https://api.github.com/users/yskkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yskkin/subscriptions","organizations_url":"https://api.github.com/users/yskkin/orgs","repos_url":"https://api.github.com/users/yskkin/repos","events_url":"https://api.github.com/users/yskkin/events{/privacy}","received_events_url":"https://api.github.com/users/yskkin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cakephp/cakephp/milestones/51","html_url":"https://github.com/cakephp/cakephp/milestones/2.8.0","labels_url":"https://api.github.com/repos/cakephp/cakephp/milestones/51/labels","id":1203674,"number":51,"title":"2.8.0","description":"New features and a backwards compatible API changes for 2.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":2,"closed_issues":4,"state":"open","created_at":"2015-07-12T01:55:56Z","updated_at":"2015-07-21T17:06:20Z","due_on":"2016-01-02T05:00:00Z","closed_at":null},"comments":2,"created_at":"2015-07-21T14:25:39Z","updated_at":"2015-07-21T20:15:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cakephp/cakephp/pulls/7082","html_url":"https://github.com/cakephp/cakephp/pull/7082","diff_url":"https://github.com/cakephp/cakephp/pull/7082.diff","patch_url":"https://github.com/cakephp/cakephp/pull/7082.patch"},"body":"(This PR is against 2.8 branch)\r\n\r\nhttp://book.cakephp.org/2.0/en/core-libraries/helpers/form.html#updates says\r\n> The $selected parameter was removed from several methods in FormHelper. All methods now support a $attributes['value'] key now which should be used in place of $selected.\r\n \r\n\r\n```\r\n$this->Form->input('Model.start_time', array(\r\n\t'timeFormat' => 24,\r\n\t'type' => 'time',\r\n\t'value' => '23:57'\r\n))\r\n```\r\nHowever, in the code above, `value => '23:57'` is ignored if `type` is `time`, `date` or `datetime`."},"comment":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/comments/123464949","html_url":"https://github.com/cakephp/cakephp/pull/7082#issuecomment-123464949","issue_url":"https://api.github.com/repos/cakephp/cakephp/issues/7082","id":123464949,"user":{"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},"created_at":"2015-07-21T20:15:38Z","updated_at":"2015-07-21T20:15:38Z","body":"Seems like a reasonable change to me."}}