{"action":"created","issue":{"url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/535","labels_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/535/labels{/name}","comments_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/535/comments","events_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/535/events","html_url":"https://github.com/javiereguiluz/EasyAdminBundle/issues/535","id":115064014,"number":535,"title":"Bug editing boolean types","user":{"login":"alexgt9","id":1714476,"avatar_url":"https://avatars.githubusercontent.com/u/1714476?v=3","gravatar_id":"","url":"https://api.github.com/users/alexgt9","html_url":"https://github.com/alexgt9","followers_url":"https://api.github.com/users/alexgt9/followers","following_url":"https://api.github.com/users/alexgt9/following{/other_user}","gists_url":"https://api.github.com/users/alexgt9/gists{/gist_id}","starred_url":"https://api.github.com/users/alexgt9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexgt9/subscriptions","organizations_url":"https://api.github.com/users/alexgt9/orgs","repos_url":"https://api.github.com/users/alexgt9/repos","events_url":"https://api.github.com/users/alexgt9/events{/privacy}","received_events_url":"https://api.github.com/users/alexgt9/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/labels/bug","name":"bug","color":"D44542"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-04T14:29:19Z","updated_at":"2015-11-04T14:39:12Z","closed_at":null,"body":"I have configured an entity to be editable. But when I try to edit boolean fields I can't because they are \"required\" values. So I'm only able to mark them as true to submit the form.\r\n\r\n![Configuration file](https://cloud.githubusercontent.com/assets/1714476/10940814/a2e19a28-8308-11e5-8d77-31464634a882.png)\r\n\r\n![Error message](https://cloud.githubusercontent.com/assets/1714476/10940832/c3bac594-8308-11e5-86c2-2c7e0c77298d.png)\r\n"},"comment":{"url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/comments/153746864","html_url":"https://github.com/javiereguiluz/EasyAdminBundle/issues/535#issuecomment-153746864","issue_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/535","id":153746864,"user":{"login":"javiereguiluz","id":73419,"avatar_url":"https://avatars.githubusercontent.com/u/73419?v=3","gravatar_id":"","url":"https://api.github.com/users/javiereguiluz","html_url":"https://github.com/javiereguiluz","followers_url":"https://api.github.com/users/javiereguiluz/followers","following_url":"https://api.github.com/users/javiereguiluz/following{/other_user}","gists_url":"https://api.github.com/users/javiereguiluz/gists{/gist_id}","starred_url":"https://api.github.com/users/javiereguiluz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javiereguiluz/subscriptions","organizations_url":"https://api.github.com/users/javiereguiluz/orgs","repos_url":"https://api.github.com/users/javiereguiluz/repos","events_url":"https://api.github.com/users/javiereguiluz/events{/privacy}","received_events_url":"https://api.github.com/users/javiereguiluz/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T14:39:12Z","updated_at":"2015-11-04T14:39:12Z","body":"Thanks for reporting this bug. I need to investigate it better because I'm sure this wans't the previous behavior. I'm using a lot of boolean fields in my backends and I didn't have this problem before.\r\n\r\nAs a temporary fix, you can set the form field option `required` to false:\r\n\r\n```yaml\r\nedit:\r\n    fields:\r\n        # ...\r\n        - { property: 'locked', type_options: { required: false } }\r\n```"}}