{"action":"closed","issue":{"url":"https://api.github.com/repos/open-orchestra/open-orchestra-cms-bundle/issues/1525","repository_url":"https://api.github.com/repos/open-orchestra/open-orchestra-cms-bundle","labels_url":"https://api.github.com/repos/open-orchestra/open-orchestra-cms-bundle/issues/1525/labels{/name}","comments_url":"https://api.github.com/repos/open-orchestra/open-orchestra-cms-bundle/issues/1525/comments","events_url":"https://api.github.com/repos/open-orchestra/open-orchestra-cms-bundle/issues/1525/events","html_url":"https://github.com/open-orchestra/open-orchestra-cms-bundle/issues/1525","id":143470550,"number":1525,"title":"It is impossible to override default block form fields","user":{"login":"itkg-canne","id":15613074,"avatar_url":"https://avatars.githubusercontent.com/u/15613074?v=3","gravatar_id":"","url":"https://api.github.com/users/itkg-canne","html_url":"https://github.com/itkg-canne","followers_url":"https://api.github.com/users/itkg-canne/followers","following_url":"https://api.github.com/users/itkg-canne/following{/other_user}","gists_url":"https://api.github.com/users/itkg-canne/gists{/gist_id}","starred_url":"https://api.github.com/users/itkg-canne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itkg-canne/subscriptions","organizations_url":"https://api.github.com/users/itkg-canne/orgs","repos_url":"https://api.github.com/users/itkg-canne/repos","events_url":"https://api.github.com/users/itkg-canne/events{/privacy}","received_events_url":"https://api.github.com/users/itkg-canne/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"itkg-ngilain","id":6725138,"avatar_url":"https://avatars.githubusercontent.com/u/6725138?v=3","gravatar_id":"","url":"https://api.github.com/users/itkg-ngilain","html_url":"https://github.com/itkg-ngilain","followers_url":"https://api.github.com/users/itkg-ngilain/followers","following_url":"https://api.github.com/users/itkg-ngilain/following{/other_user}","gists_url":"https://api.github.com/users/itkg-ngilain/gists{/gist_id}","starred_url":"https://api.github.com/users/itkg-ngilain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itkg-ngilain/subscriptions","organizations_url":"https://api.github.com/users/itkg-ngilain/orgs","repos_url":"https://api.github.com/users/itkg-ngilain/repos","events_url":"https://api.github.com/users/itkg-ngilain/events{/privacy}","received_events_url":"https://api.github.com/users/itkg-ngilain/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-03-25T10:13:52Z","updated_at":"2016-05-13T09:47:49Z","closed_at":"2016-05-13T09:47:49Z","body":"The mechanism used to build block forms give no possibility to the developer to override anything that came from the \"oo_block\" form type.\r\nI could be useful to be able to access to base fields inside the `GenerateFormInterface::buildForm()` method.\r\nFor example :\r\n```\r\nif ($builder->has('maxAge')) {\r\n    $builder->get('maxAge')->setAttribute('readonly', 'readonly');\r\n    $builder->get('maxAge')->setData(60);\r\n}\r\n```\r\n\r\nI wanted to define \"maxAge\" field as readonly with a forced value, but it is not possible."}}