{"action":"created","issue":{"url":"https://api.github.com/repos/rilwis/meta-box/issues/860","repository_url":"https://api.github.com/repos/rilwis/meta-box","labels_url":"https://api.github.com/repos/rilwis/meta-box/issues/860/labels{/name}","comments_url":"https://api.github.com/repos/rilwis/meta-box/issues/860/comments","events_url":"https://api.github.com/repos/rilwis/meta-box/issues/860/events","html_url":"https://github.com/rilwis/meta-box/issues/860","id":154270908,"number":860,"title":"Can't retrieve cloned Image Advanced selected value","user":{"login":"tanng","id":9004445,"avatar_url":"https://avatars.githubusercontent.com/u/9004445?v=3","gravatar_id":"","url":"https://api.github.com/users/tanng","html_url":"https://github.com/tanng","followers_url":"https://api.github.com/users/tanng/followers","following_url":"https://api.github.com/users/tanng/following{/other_user}","gists_url":"https://api.github.com/users/tanng/gists{/gist_id}","starred_url":"https://api.github.com/users/tanng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanng/subscriptions","organizations_url":"https://api.github.com/users/tanng/orgs","repos_url":"https://api.github.com/users/tanng/repos","events_url":"https://api.github.com/users/tanng/events{/privacy}","received_events_url":"https://api.github.com/users/tanng/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rilwis/meta-box/labels/Bug","name":"Bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-11T15:22:01Z","updated_at":"2016-05-12T05:00:54Z","closed_at":null,"body":"I have a clonable Image Advanced field (radio)\r\n\r\nNow, I'll loop through each item and check if it's checked or not. I'm using this snippet:\r\n```js\r\n$('.rwmb-image-select input').each(function() {\r\n\tconsole.log($(this).is(':checked'));\r\n});\r\n```\r\nIf I clicked on an item, then it's checked and all others aren't. Even though they're item on other radio group.\r\n\r\nThis should be same as radio, if I click on an item, all others in current group is unchecked instead of all other radio is unchecked."},"comment":{"url":"https://api.github.com/repos/rilwis/meta-box/issues/comments/218660763","html_url":"https://github.com/rilwis/meta-box/issues/860#issuecomment-218660763","issue_url":"https://api.github.com/repos/rilwis/meta-box/issues/860","id":218660763,"user":{"login":"tanng","id":9004445,"avatar_url":"https://avatars.githubusercontent.com/u/9004445?v=3","gravatar_id":"","url":"https://api.github.com/users/tanng","html_url":"https://github.com/tanng","followers_url":"https://api.github.com/users/tanng/followers","following_url":"https://api.github.com/users/tanng/following{/other_user}","gists_url":"https://api.github.com/users/tanng/gists{/gist_id}","starred_url":"https://api.github.com/users/tanng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanng/subscriptions","organizations_url":"https://api.github.com/users/tanng/orgs","repos_url":"https://api.github.com/users/tanng/repos","events_url":"https://api.github.com/users/tanng/events{/privacy}","received_events_url":"https://api.github.com/users/tanng/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T05:00:54Z","updated_at":"2016-05-12T05:00:54Z","body":"For example\r\n\r\n```php\r\n<?php\r\n$meta_boxes[] = array(\r\n\t\t'id'         => 'layout-content',\r\n\t\t'title'      => 'Contenido',\r\n\t\t'fields'     => array(\r\n\t\t\tarray(\r\n\t\t\t\t'name'   => 'Select Layout',\r\n\t\t\t\t'id'     => 'item-row',\r\n\t\t\t\t'type'   => 'group',\r\n\t\t\t\t'clone'  => true,\r\n\t\t\t\t'fields' => array(\r\n\t\t\t\t\tarray(\r\n\t\t\t\t\t\t'name'     => 'Layout',\r\n\t\t\t\t\t\t'id'       => 'layout',\r\n\t\t\t\t\t\t'required' => true,\r\n\t\t\t\t\t\t'type'     => 'image_select',\r\n\t\t\t\t\t\t'options'  => array(\r\n\t\t\t\t\t\t\t'textimage' => get_bloginfo('template_url').'/images/settings/layout-textimage.png',\r\n\t\t\t\t\t\t\t'imagetext' => get_bloginfo('template_url').'/images/settings/layout-imagetext.png',\r\n\t\t\t\t\t\t\t'onlytext'  => get_bloginfo('template_url').'/images/settings/layout-text.png',\r\n\t\t\t\t\t\t\t'onlyimage' => get_bloginfo('template_url').'/images/settings/layout-image.png',\r\n\t\t\t\t\t\t),\r\n\t\t\t\t\t),\r\n\t\t\t\t\tarray(\r\n\t\t\t\t\t\t'name'    => 'Text',\r\n\t\t\t\t\t\t'id'      => 'item-text',\r\n\t\t\t\t\t\t'type'    => 'textarea',\r\n\t\t\t\t\t\t'cols'    => 1,\r\n\t\t\t\t\t\t'rows'    => 5,\r\n\t\t\t\t\t\t'visible' => array( 'layout', 'in', array( 'onlytext', 'textimage', 'imagetext' ) ),\r\n\t\t\t\t\t),\r\n\t\t\t\t\tarray(\r\n\t\t\t\t\t\t'name'      => 'Images',\r\n\t\t\t\t\t\t'id'        => 'item-images',\r\n\t\t\t\t\t\t'type'      => 'file_advanced',\r\n\t\t\t\t\t\t'mime_type' => 'image',\r\n\t\t\t\t\t\t'visible' => array( 'layout', 'in', array( 'onlyimage', 'textimage', 'imagetext' ) ),\r\n\t\t\t\t\t),\r\n\t\t\t\t),\r\n\t\t\t),\r\n\t\t),\r\n\t);\r\n\r\n```"}}