Open joseph-parsley opened 3 years ago
Here is the codesandbox sampel - https://codesandbox.io/s/surveyjs-vue-forked-z70b5 It doesn't have any errors in console. Could you modify it to illustrate the issue?
@joseph-parsley I just ran into this issue as well. In order to resolve it, I used Model
(or VueSurveyModel
) instead of SurveyModel
which has the definitions to the missing functions.
Are you requesting a feature, reporting a bug or asking a question?
Reporting a bug or asking a question. I could be doing this wrong but I don't think so.
What is the current behavior?
When rendering the Survey Vue component, it throws an error saying
this.survey.doAfterRenderHeader is not a function
andthis.survey.doAfterRenderSurvey
is not a function. Both of these are being called in the mounted hooks of the SurveyHeader and Survey components, respectively. Everything seems to work properly (though I am not attempting to change anything after rendering the header/survey, so that might now work) otherwise.What is the expected behavior?
No JavaScript errors in the console.
How would you reproduce the current behavior (if this is a bug)?
Mounting a Vue Survey component.
Provide the test code and the tested page URL (if applicable)
Test code
surveySingle
is a properly initializedSurveyModel
and seems to work in all other respects.Specify your
survey-vue
version 1.8.23