question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Custom Widgets not rendered when viewing the survey.

See original GitHub issue

Are 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:closed
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
muhfredcommented, May 27, 2017

awesome, thank you, please tell which branch I should use for pull requests, I finished a localization file for Arabic language. Thanks.

0reactions
andrewtelnovcommented, Jun 15, 2017

@muhfred Sure, the fixes are in the latest released version.

Thank you, Andrew

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found