With editable mode it works fine but when open with display (readonly) it break down;
Survey.StylesManager.applyTheme("defaultV2");
var survey = new Survey.Model(jsonQuestionObject);
survey.data = jsonResponseObject;
survey.mode = "display"; //This cause corruption
$("#surveyContainer").Survey({
model: survey,
});`
Hello,
Thank you for reporting this issue. I tested this on the latest version and got the following output:
{ "logoPosition": "right", "mode": "display", "pages": [ { "name": "page1", "elements": [ { "type": "dropdown", "name": "question1", "defaultValue": "Item 1", "choices": [ { "value": "Item 1", "text": "Some long text goes here Some long text goes here Some long text goes here " }, "Item 2", "Item 3" ] } ] } ] }
I forwarded it to our developers for further investigation.
https://github.com/surveyjs/survey-library/issues/6959
Please stay tuned to our updates.
FYI: I can see that our developers has fixed the issue by this PR. The fix will be available in v1.9.108 that we will release next week.
Thank you,
Andrew
SurveyJS Team