{"action":"created","issue":{"url":"https://api.github.com/repos/aristath/kirki/issues/171","labels_url":"https://api.github.com/repos/aristath/kirki/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/aristath/kirki/issues/171/comments","events_url":"https://api.github.com/repos/aristath/kirki/issues/171/events","html_url":"https://github.com/aristath/kirki/issues/171","id":66525452,"number":171,"title":"Required option does not work in version 0.8.3","user":{"login":"DevelopOnline","id":11544009,"avatar_url":"https://avatars.githubusercontent.com/u/11544009?v=3","gravatar_id":"","url":"https://api.github.com/users/DevelopOnline","html_url":"https://github.com/DevelopOnline","followers_url":"https://api.github.com/users/DevelopOnline/followers","following_url":"https://api.github.com/users/DevelopOnline/following{/other_user}","gists_url":"https://api.github.com/users/DevelopOnline/gists{/gist_id}","starred_url":"https://api.github.com/users/DevelopOnline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevelopOnline/subscriptions","organizations_url":"https://api.github.com/users/DevelopOnline/orgs","repos_url":"https://api.github.com/users/DevelopOnline/repos","events_url":"https://api.github.com/users/DevelopOnline/events{/privacy}","received_events_url":"https://api.github.com/users/DevelopOnline/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aristath/kirki/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/aristath/kirki/milestones/2","html_url":"https://github.com/aristath/kirki/milestones/1.0","labels_url":"https://api.github.com/repos/aristath/kirki/milestones/2/labels","id":1022147,"number":2,"title":"1.0","description":null,"creator":{"login":"aristath","id":588688,"avatar_url":"https://avatars.githubusercontent.com/u/588688?v=3","gravatar_id":"","url":"https://api.github.com/users/aristath","html_url":"https://github.com/aristath","followers_url":"https://api.github.com/users/aristath/followers","following_url":"https://api.github.com/users/aristath/following{/other_user}","gists_url":"https://api.github.com/users/aristath/gists{/gist_id}","starred_url":"https://api.github.com/users/aristath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aristath/subscriptions","organizations_url":"https://api.github.com/users/aristath/orgs","repos_url":"https://api.github.com/users/aristath/repos","events_url":"https://api.github.com/users/aristath/events{/privacy}","received_events_url":"https://api.github.com/users/aristath/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":40,"state":"open","created_at":"2015-03-15T16:13:26Z","updated_at":"2015-04-11T20:20:31Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-04-06T04:50:19Z","updated_at":"2015-04-11T20:20:31Z","closed_at":"2015-04-11T20:20:31Z","body":"Hi there\r\n\r\nHow can I use required settings in version 0.8.3?!\r\n\r\nI have two controls:\r\n\r\n```php\r\n    $controls[] = array(\r\n        'type' => 'radio-buttonset',\r\n        'setting' => 'my_bg_mode',\r\n        'label' => 'Background Mode',\r\n        'section' => 'my_default_section',\r\n        'default' => 'normal',\r\n        'priority' => $priority,\r\n        'choices' => array(\r\n            'normal' => 'Normal',\r\n            'colorful' => 'Colorful',\r\n        ),\r\n        'transport' => 'postMessage'\r\n    );\r\n\r\n    $controls[] = array(\r\n        'type' => 'color',\r\n        'setting' => 'my_bg_color',\r\n        'section' => 'my_default_section',\r\n        'default' => '#cccccc',\r\n        'priority' => $priority,\r\n        'required' => array(\r\n            array(\r\n                'setting'  => 'my_bg_mode',\r\n                'operator' => '==',\r\n                'value'    => 'colorful')\r\n            ),\r\n        'transport' => 'postMessage'\r\n    );\r\n```\r\n\r\nbut my my_bg_color control is always visible!\r\nalso when I click on my_bg_mode control buttons, nothing happens, & my_bg_color control is always visible.\r\n\r\nAny Solution?!\r\n\r\nThanks in advance"},"comment":{"url":"https://api.github.com/repos/aristath/kirki/issues/comments/91921305","html_url":"https://github.com/aristath/kirki/issues/171#issuecomment-91921305","issue_url":"https://api.github.com/repos/aristath/kirki/issues/171","id":91921305,"user":{"login":"aristath","id":588688,"avatar_url":"https://avatars.githubusercontent.com/u/588688?v=3","gravatar_id":"","url":"https://api.github.com/users/aristath","html_url":"https://github.com/aristath","followers_url":"https://api.github.com/users/aristath/followers","following_url":"https://api.github.com/users/aristath/following{/other_user}","gists_url":"https://api.github.com/users/aristath/gists{/gist_id}","starred_url":"https://api.github.com/users/aristath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aristath/subscriptions","organizations_url":"https://api.github.com/users/aristath/orgs","repos_url":"https://api.github.com/users/aristath/repos","events_url":"https://api.github.com/users/aristath/events{/privacy}","received_events_url":"https://api.github.com/users/aristath/received_events","type":"User","site_admin":false},"created_at":"2015-04-11T20:20:31Z","updated_at":"2015-04-11T20:20:31Z","body":"This has been fixed in the master branch I'm closing this issue. :+1: "}}