{"action":"created","issue":{"url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/1051","labels_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/1051/labels{/name}","comments_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/1051/comments","events_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/1051/events","html_url":"https://github.com/aldeed/meteor-autoform/issues/1051","id":89408484,"number":1051,"title":"problem with afFieldValueIs and radio buttons","user":{"login":"wesyah234","id":66566,"avatar_url":"https://avatars.githubusercontent.com/u/66566?v=3","gravatar_id":"","url":"https://api.github.com/users/wesyah234","html_url":"https://github.com/wesyah234","followers_url":"https://api.github.com/users/wesyah234/followers","following_url":"https://api.github.com/users/wesyah234/following{/other_user}","gists_url":"https://api.github.com/users/wesyah234/gists{/gist_id}","starred_url":"https://api.github.com/users/wesyah234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesyah234/subscriptions","organizations_url":"https://api.github.com/users/wesyah234/orgs","repos_url":"https://api.github.com/users/wesyah234/repos","events_url":"https://api.github.com/users/wesyah234/events{/privacy}","received_events_url":"https://api.github.com/users/wesyah234/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-18T22:02:20Z","updated_at":"2015-07-06T02:56:09Z","closed_at":null,"body":"When using afFieldValueIs to conditionally show/hide something based on the value of another form control, it fails to work when the other form control is a radio button, but I did get it to work by switching the radio button to a regular drop down select box.  See screencast:\r\nhttp://screencast-o-matic.com/watch/co1Fr8fqwR\r\nIn the screen cast you will see how it works fine to display a message below the select box depending on which value is chosen, but after just switching to the radio button control, it fails to work.  It will sort of work if you edit another control on the form, like I demonstrate by editing the first name field.  It has something to do with events firing, but I don't know enough about this package to solve the issue.  Hopefully someone else can fix!\r\n``````\r\n        {{> afQuickField name='demographics.newold'}}\r\n        {{#if afFieldValueIs name=\"demographics.newold\" value=\"Previously Seen\"}}\r\n        Previously Seen is selected above\r\n        {{else}}\r\n        Previously Seen is NOT selected\r\n        {{/if}}       \r\n`````\r\nschema\r\n``````\r\n  , 'demographics.newold': {\r\n    type: String,\r\n    optional: true,\r\n    label: \"New vs. New/Previously Seen\",\r\n    autoform: {\r\n      type: 'select',\r\n      options: function () {\r\n        return [\r\n          {label: \"New\", value: \"New\"},\r\n          {label: \"Previously Seen\", value: \"Previously Seen\"},\r\n        ]\r\n      }\r\n    }\r\n  }\r\n``````"},"comment":{"url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/comments/118699481","html_url":"https://github.com/aldeed/meteor-autoform/issues/1051#issuecomment-118699481","issue_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/1051","id":118699481,"user":{"login":"aldeed","id":3012067,"avatar_url":"https://avatars.githubusercontent.com/u/3012067?v=3","gravatar_id":"","url":"https://api.github.com/users/aldeed","html_url":"https://github.com/aldeed","followers_url":"https://api.github.com/users/aldeed/followers","following_url":"https://api.github.com/users/aldeed/following{/other_user}","gists_url":"https://api.github.com/users/aldeed/gists{/gist_id}","starred_url":"https://api.github.com/users/aldeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldeed/subscriptions","organizations_url":"https://api.github.com/users/aldeed/orgs","repos_url":"https://api.github.com/users/aldeed/repos","events_url":"https://api.github.com/users/aldeed/events{/privacy}","received_events_url":"https://api.github.com/users/aldeed/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T02:56:09Z","updated_at":"2015-07-06T02:56:09Z","body":"Duplicate of #983, fixed in 5.3.1 release"}}