{"action":"created","issue":{"url":"https://api.github.com/repos/miohtama/jquery-interdependencies/issues/13","repository_url":"https://api.github.com/repos/miohtama/jquery-interdependencies","labels_url":"https://api.github.com/repos/miohtama/jquery-interdependencies/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/miohtama/jquery-interdependencies/issues/13/comments","events_url":"https://api.github.com/repos/miohtama/jquery-interdependencies/issues/13/events","html_url":"https://github.com/miohtama/jquery-interdependencies/issues/13","id":167407465,"number":13,"title":"On hide how to unset the Input value","user":{"login":"rodrigomanara","id":5967686,"avatar_url":"https://avatars.githubusercontent.com/u/5967686?v=3","gravatar_id":"","url":"https://api.github.com/users/rodrigomanara","html_url":"https://github.com/rodrigomanara","followers_url":"https://api.github.com/users/rodrigomanara/followers","following_url":"https://api.github.com/users/rodrigomanara/following{/other_user}","gists_url":"https://api.github.com/users/rodrigomanara/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigomanara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigomanara/subscriptions","organizations_url":"https://api.github.com/users/rodrigomanara/orgs","repos_url":"https://api.github.com/users/rodrigomanara/repos","events_url":"https://api.github.com/users/rodrigomanara/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigomanara/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-25T16:21:08Z","updated_at":"2017-02-28T14:00:44Z","closed_at":null,"body":"I have create a rule and **onchange** action the rules apply but how to I unset the value on action on hide?\n"},"comment":{"url":"https://api.github.com/repos/miohtama/jquery-interdependencies/issues/comments/283046203","html_url":"https://github.com/miohtama/jquery-interdependencies/issues/13#issuecomment-283046203","issue_url":"https://api.github.com/repos/miohtama/jquery-interdependencies/issues/13","id":283046203,"user":{"login":"bright-light-in-the-night","id":16665640,"avatar_url":"https://avatars.githubusercontent.com/u/16665640?v=3","gravatar_id":"","url":"https://api.github.com/users/bright-light-in-the-night","html_url":"https://github.com/bright-light-in-the-night","followers_url":"https://api.github.com/users/bright-light-in-the-night/followers","following_url":"https://api.github.com/users/bright-light-in-the-night/following{/other_user}","gists_url":"https://api.github.com/users/bright-light-in-the-night/gists{/gist_id}","starred_url":"https://api.github.com/users/bright-light-in-the-night/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bright-light-in-the-night/subscriptions","organizations_url":"https://api.github.com/users/bright-light-in-the-night/orgs","repos_url":"https://api.github.com/users/bright-light-in-the-night/repos","events_url":"https://api.github.com/users/bright-light-in-the-night/events{/privacy}","received_events_url":"https://api.github.com/users/bright-light-in-the-night/received_events","type":"User","site_admin":false},"created_at":"2017-02-28T14:00:44Z","updated_at":"2017-02-28T14:00:44Z","body":"before calling\r\n`$.deps.enable(...)`\r\nyou can set some rules to undo the values\r\n```\r\n<select name=\"type\">\r\n\t<option value=\"\">Please select a value</option>\r\n\t<option value=\"1\">Value 1</option>\r\n\t<option value=\"2\">Value 2</option>\r\n</select>\r\n\r\n<select name=\"source\">\r\n\t<option value=\"\">Please select a value</option>\r\n\t<option value=\"1\">Value 1</option>\r\n\t<option value=\"2\">Value 2</option>\r\n</select>\r\n\r\n$(\"#type\").on('change', function() {\r\n\t$('#source').val('').prop('selected', true);\r\n});\r\n```"}}
{"actor":{"display_login":"bright-light-in-the-night"}}