surveyjs_angular_cli
surveyjs_angular_cli copied to clipboard
On adding new tab to editor I catch en error
Hi
I integrated survey-creator and survey-angular to my Angular app. For now I want to add my own tab to editor. I use this example https://surveyjs.io/Examples/Survey-Creator?id=tabscustomization&theme=bootstrap#content-js.
In .html code I added tab script (from example) before div where editor will be rendered. And I catch this error. Is it something specific for angular I should to write?
Want to add that tab is rendered but questions removed from pages on Designer Mode
This error means that your template hasn't been found. The template id is wrong or the script block with the template down't exist in the page.
@tsv2013 thanks for answer. May be angular modal window doesn't see
@vlad-alt don't think so. Most likely it's a typo. You can run "document.getElementById("your_id")" in console to check whether it exists
@tsv2013 I run this at Chrome Console, than add it to setInterval to wait for this script loaded. In both cases it is null.
@tsv2013 don't worry, I thought I didn't write something important that's why it doesn't work. I try to find another way to do this. Thanks a lot.