{"action":"opened","issue":{"url":"https://api.github.com/repos/surveyjs/surveyjs/issues/1207","repository_url":"https://api.github.com/repos/surveyjs/surveyjs","labels_url":"https://api.github.com/repos/surveyjs/surveyjs/issues/1207/labels{/name}","comments_url":"https://api.github.com/repos/surveyjs/surveyjs/issues/1207/comments","events_url":"https://api.github.com/repos/surveyjs/surveyjs/issues/1207/events","html_url":"https://github.com/surveyjs/surveyjs/issues/1207","id":337366541,"node_id":"MDU6SXNzdWUzMzczNjY1NDE=","number":1207,"title":"Don't include value in valueHash if question is hidden on some condition","user":{"login":"cliewdevelop","id":36872898,"node_id":"MDQ6VXNlcjM2ODcyODk4","avatar_url":"https://avatars1.githubusercontent.com/u/36872898?v=4","gravatar_id":"","url":"https://api.github.com/users/cliewdevelop","html_url":"https://github.com/cliewdevelop","followers_url":"https://api.github.com/users/cliewdevelop/followers","following_url":"https://api.github.com/users/cliewdevelop/following{/other_user}","gists_url":"https://api.github.com/users/cliewdevelop/gists{/gist_id}","starred_url":"https://api.github.com/users/cliewdevelop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cliewdevelop/subscriptions","organizations_url":"https://api.github.com/users/cliewdevelop/orgs","repos_url":"https://api.github.com/users/cliewdevelop/repos","events_url":"https://api.github.com/users/cliewdevelop/events{/privacy}","received_events_url":"https://api.github.com/users/cliewdevelop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-02T04:30:16Z","updated_at":"2018-07-02T04:30:16Z","closed_at":null,"author_association":"NONE","body":"### Are you requesting a feature, reporting a bug or asking a question?\r\nAsking a question.\r\n\r\n### What is the current behavior?\r\nWhen we select a question that conditionally hides certain questions, **those questions still appear in valuesHash** - is there a way to differentiate them?\r\n\r\neg:\r\nquestion A - Yes/No\r\nquestion B (show if questionA===Yes) - \"Yes\"/\"No\"\r\n\r\nSelect question A - Yes\r\nSelect question B - Yes\r\n\r\nvaluesHash = {\r\nA: \"Yes\",\r\nB: \"Yes\r\n}\r\n\r\nall good,\r\n\r\nthen change question A to \"No\"\r\nQuestion B will be hidden\r\n\r\nbut valuesHash is still {\r\nA: \"No\"\r\nB: \"Yes\" (previously selected, hidden in view)\r\n}\r\n\r\nIs there any way to not populate B in valuesHash? \r\n\r\n### What is the expected behavior?\r\n\r\n\r\n\r\n### How would you reproduce the current behavior (if this is a bug)?\r\n\r\n\r\n\r\n#### Provide the test code and the tested page URL (if applicable)\r\n\r\nTested page URL:\r\n\r\nTest code\r\n\r\n```\r\nyour_code_here\r\n\r\n```\r\n\r\n### Specify your\r\n\r\nbrowser: Chrome\r\nbrowser version: 66.0.3359.181\r\nsurveyjs platform: React with no JQuery\r\nsurveyjs version: 1.0.10\r\n"}}
{"actor":{"display_login":"cliewdevelop"}}