Hello,
I recently inherited an Angular application that makes use of SurveyJS for asking survey questions.
I would like to add all of the SurveyJS custom widgets that ship with SurveyJS in the custom widget library to my survey creator.
Just to familiarize myself, I have followed the tutorials listed and have been able to get your customwidget.ts example to populate in my toolbox.
I attached the typescript for the survey creator component, hopefully that is helpful.
You can see that I added the
Codeimport { init as initCustomWidget } from 'src/app/features/survey/customwidget';
and I call the method
CodeinitCustomWidget(SurveyKo);
And that was enough to add the custom widget.
I tried to follow the example for adding the autocomplete widget to my toolbox, but it doesn't seem to work or I am doing it wrong.
What do I need to do to add the entire custom widget library or specific custom widgets.
Thanks In Advance,
Chris Borglum
CHRISTIAN BORGLUM
APPLICATION DEVELOPER
[christian.borglum@tdsclinical.com]