-
Notifications
You must be signed in to change notification settings - Fork 41
Description
Hi!
I have an issue where I am using survey-vue and have been able to load a survey so that it shows. But - if it contains a "matrix" question, the page gets stuck on loading and it becomes unresponsive.
I tried to recreate the problem on codesandbox, but there was no error there https://codesandbox.io/s/survey-vue-tests-mqx1e
So I tried to change my app to make it as similar as I could to my sandbox, but the problem persists. My app is not based on vue-cli, it loads a laravel template with vue inside.
I tried both passing in the data by setting a prop, and directly into the survey component (from the app() method), and the page crashes using both ways.
The survey-vue component also gives two warnings: $attrs is readonly
" and "$listeners is readonly
" (regardless if containing matrix question). The error points to the file: jsonobjects.ts
, 732: private addPropertyToClass
. (These warnings only show in the laravel app, not in my vue-cli test). If I inspect with vue-devtools in the test sandbox, I can see the Survey component and its children (SurveyString, SurveyPage), but in the laravel app those components don't show in the devtools - I can only see the Survey component,
But other question types for example "checkbox" and text field don't cause this page crash.
Do you have any insight regarding this problem?
Update: I made a new test laravel project with just one blade template, and simplified vue to just one component. The problem is still there. You can download/see code here https://github.com/chesterlaykin/surveyvue-failure-test.git