Custom Widgets not rendered when viewing the survey.
See original GitHub issueAre you requesting a feature, reporting a bug or ask a question?
bug
What is the current behavior?
I created a survey with editor and saved the json to a database, when viewing the survey, custom widgets are not rendered. Does it have anything to do with being the json editor changed from “questions” to “elements” ? example used is barrating widget.
What is the expected behavior?
I expect that custom widgets are rendered when viewing the survey.
How would you reproduce the current behavior (if this is a bug)?
If I got the json like this with “elements” instead of questions, the custom widget will not be rendered as expected.
var survey = new Survey.Model({ elements: [ { type: "dropdown", name: "barrating1", renderAs: "barrating", "ratingTheme": "fontawesome-stars", title: "Please rate the moive you've just watched", choices: ["1", "2", "3", "4", "5"] } ]});
Provide the test code and the tested page URL (if applicable)
Tested page URL:
Test code
your_code_here
Specify your
- browser: chrome
- browser version: 58.x
- surveyjs platform (angular or react or jquery or knockout or vue): jquery
- surveyjs version: 0.12.15
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Custom widget not rendering on angular 6 - surveyjs Support
I am using only using survey-angular since I do not have to use survey creator. I am importing my customwidget js file into...
Read more >My Surveys Widget not rendering correctly on My Surveys page
My Surveys widget does not load properly. Resolution Behavior seen due to a custom theme set on the service portal. The CSS set...
Read more >Number Chart Widget - Qualtrics
FAQs. The count in my Number Chart widget does not match the count for the same value that I see in other widgets...
Read more >Image widget—ArcGIS Experience Builder | Documentation
There is a known limitation in which the Fill option does not render as expected on iOS and macOS devices because of browser...
Read more >The HTML widget - Leadpages Knowledge Base
TIP: If after publishing, the HTML element you added is off-center. You can try adding <center> before the beginning of the HTML code...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
awesome, thank you, please tell which branch I should use for pull requests, I finished a localization file for Arabic language. Thanks.
@muhfred Sure, the fixes are in the latest released version.
Thank you, Andrew