{"action":"opened","issue":{"url":"https://api.github.com/repos/surveyjs/survey-library/issues/1877","repository_url":"https://api.github.com/repos/surveyjs/survey-library","labels_url":"https://api.github.com/repos/surveyjs/survey-library/issues/1877/labels{/name}","comments_url":"https://api.github.com/repos/surveyjs/survey-library/issues/1877/comments","events_url":"https://api.github.com/repos/surveyjs/survey-library/issues/1877/events","html_url":"https://github.com/surveyjs/survey-library/issues/1877","id":513612439,"node_id":"MDU6SXNzdWU1MTM2MTI0Mzk=","number":1877,"title":"React - Validate all surveys that are separate js files in tabs","user":{"login":"tazmanrising","id":643720,"node_id":"MDQ6VXNlcjY0MzcyMA==","avatar_url":"https://avatars2.githubusercontent.com/u/643720?v=4","gravatar_id":"","url":"https://api.github.com/users/tazmanrising","html_url":"https://github.com/tazmanrising","followers_url":"https://api.github.com/users/tazmanrising/followers","following_url":"https://api.github.com/users/tazmanrising/following{/other_user}","gists_url":"https://api.github.com/users/tazmanrising/gists{/gist_id}","starred_url":"https://api.github.com/users/tazmanrising/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tazmanrising/subscriptions","organizations_url":"https://api.github.com/users/tazmanrising/orgs","repos_url":"https://api.github.com/users/tazmanrising/repos","events_url":"https://api.github.com/users/tazmanrising/events{/privacy}","received_events_url":"https://api.github.com/users/tazmanrising/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-10-28T23:32:57Z","updated_at":"2019-10-28T23:32:57Z","closed_at":null,"author_association":"NONE","body":"<!-- The easiest way to fix the issue is provide us with a [Minimal, Complete, and Verifiable example](https://stackoverflow.com/help/mcve). This should not be exactly your JSON or code. Just a small sample illustrating the issue. In this case we will be able to investigate it in our side and find the cause of the issue. -->\r\n\r\n\r\n### Are you requesting a feature, reporting a bug or asking a question?\r\n\r\nQuestion\r\n\r\n### What is the current behavior?\r\n\r\nComplete buttons on every survey page that calls validation, however I have entire survey split into separate JS files and using local storage.   e.g.  SectionA.js , SectionB.js    I have a Save button at the top of the parent page.  But with my React , I'm using Tabs and each Section loads data from local storage and when I click Save , it doesn't know about all the children survey pages to validation.\r\n\r\n\r\n\r\n### What is the expected behavior?\r\n\r\nI wish to click click Save on Parent page and need it to validate all the child page \r\n\r\n### How would you reproduce the current behavior (if this is a bug)?\r\n\r\n <Tab eventKey={2} title=\"CORE SEC B.\"><SectionB /></Tab>\r\n\r\nhandleSelect(selectedTab) {\r\nif(selectedTab==2){\r\n            var obj=new SectionB();\r\n            obj.refreshLoadData();\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\nsurvey.onComplete.add(function(survey, options){  ... } \r\n```\r\n\r\n### Specify your\r\n\r\n* browser:  chrome\r\n* browser version: current\r\n* surveyjs platform (angular or react or jquery or knockout or vue): react\r\n* surveyjs version: current\r\n"}}
{"actor":{"display_login":"tazmanrising"}}