surveyjs/surveyjs_vue_quickstart

Dynamic schema binding

Blaubunt opened this issue · 0 comments

Hello,
I try to bind a dynamically generated schema to the Survey component. When I use a static variable as in the example everything works but if I use a prop to get data from a parent component and create a model and display the survey I always geht the Error:

page.setSurveyImpl is not a function
    at VueSurveyModel../src/survey.ts.SurveyModel.doOnPageAdded

Is this a known Issue? Has anybody got a solution with binding a dynamically generated scheme to this survey? Basically I have questions that can be selected and will then generate the schema for the survey.