{"action":"closed","issue":{"url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/642","labels_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/642/labels{/name}","comments_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/642/comments","events_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/642/events","html_url":"https://github.com/aldeed/meteor-autoform/issues/642","id":54576843,"number":642,"title":"Boolean value returned as String","user":{"login":"jarkelen","id":54882,"avatar_url":"https://avatars.githubusercontent.com/u/54882?v=3","gravatar_id":"","url":"https://api.github.com/users/jarkelen","html_url":"https://github.com/jarkelen","followers_url":"https://api.github.com/users/jarkelen/followers","following_url":"https://api.github.com/users/jarkelen/following{/other_user}","gists_url":"https://api.github.com/users/jarkelen/gists{/gist_id}","starred_url":"https://api.github.com/users/jarkelen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarkelen/subscriptions","organizations_url":"https://api.github.com/users/jarkelen/orgs","repos_url":"https://api.github.com/users/jarkelen/repos","events_url":"https://api.github.com/users/jarkelen/events{/privacy}","received_events_url":"https://api.github.com/users/jarkelen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aldeed/meteor-autoform/labels/needs%20reproduction","name":"needs reproduction","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-16T13:47:40Z","updated_at":"2015-01-26T23:48:33Z","closed_at":"2015-01-26T23:48:33Z","body":"I have a Boolean field defined:\r\n\r\n    project_type: {\r\n        type: Boolean,\r\n        label: \"Project type\",\r\n        autoform: {\r\n           type: \"boolean-radios\",\r\n           trueLabel: \"Detailed\",\r\n           falseLabel: \"Simple\",\r\n           value: false\r\n        }\r\n    }\r\n\r\nAnd the form field is defined:\r\n\r\n    {{> afQuickField name='project_type'}}\r\n\r\nBut when I look in the generated HTML, `true` and `false` are defined as strings:\r\n\r\n    <input type=\"radio\" value=\"false\" name=\"project_type\" required=\"\">\r\n\r\nAnd when submitting the form I receive an error:\r\n\r\n    Match error: Expected boolean, got string in field project_type\r\n\r\n"}}