Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[survey-vue-ui] Dependent Dropdown Questions - View Warning: You may have an infinite update loop in a component render function #7337

Closed
JaneSjs opened this issue Nov 13, 2023 · 1 comment · Fixed by #7346
Assignees
Labels
bug user issue An issue or bug reported by users
Milestone

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Nov 13, 2023

User Issue: T15490 - Render Infinite Loop when I set cascading dropdowns with choicesByUrl
https://surveyjs.answerdesk.io/internal/ticket/details/T15490


To reproduce the mentioned warning, run a customer's demo. Click the 'set data' button to programmatically specify survey question values. The following warning appears in a browser's console:

index.js:27 [Vue warn]: You may have an infinite update loop in a component render function.

found in

---> <DropdownComponent> at src/vue/components/dropdown/dropdown.vue
       <Dropdown> at src/vue/dropdown.vue
         <SurveyElementVue> at src/vue/element.vue
           <SurveyRowElement> at src/vue/row-element.vue
             <Row> at src/vue/row.vue
               <Page> at src/vue/page.vue
                 <Survey> at src/vue/survey.vue
                   <MyFirstSurvey> at /src/components/MyFirstSurvey.vue
                     <App> at /src/App.vue
                       <Root>
@JaneSjs JaneSjs added the user issue An issue or bug reported by users label Nov 13, 2023
@JaneSjs JaneSjs changed the title Dependent Dropdown questions - View Warning: You may have an infinite update loop in a component render function Dependent Dropdown Questions - View Warning: You may have an infinite update loop in a component render function Nov 13, 2023
@JaneSjs JaneSjs changed the title Dependent Dropdown Questions - View Warning: You may have an infinite update loop in a component render function [survey-vue-ui] Dependent Dropdown Questions - View Warning: You may have an infinite update loop in a component render function Nov 13, 2023
@JaneSjs JaneSjs added the bug label Nov 14, 2023
@JaneSjs
Copy link
Contributor Author

JaneSjs commented Nov 14, 2023

@dk981234, the warning does not appear in Vue3 (survey-vue3-ui)
View CodeSandbox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug user issue An issue or bug reported by users
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants