You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using a specialized question type that set showOtherItem to true, the comment box does not show the stored value.
Steps to reproduce
// Create specialized question type with other itemSurvey.ComponentCollection.Instance.add({name: "custom-dropdown",title: "My dropdown",inheritBaseProps: true,questionJSON: {type: "dropdown",choices: ["Item 1","Item 2","Item 3"],showOtherItem: true},});// Create survey with the same question once as standard and once as a specialized question typeconstsurveyJson={elements: [{name: "direct",type: "dropdown",choices: ["Item 1","Item 2","Item 3"],showOtherItem: true},{name: "specialized",type: "custom-dropdown"}]};constsurvey=newSurvey.Model(surveyJson);// Fill data as if from local storagesurvey.data={"direct": "other","direct-Comment": "Hello","specialized": "other","specialized-Comment": "World"};functionalertResults(sender){constresults=JSON.stringify(sender.data);alert(results);}survey.onComplete.add(alertResults);document.addEventListener("DOMContentLoaded",function(){survey.render(document.getElementById("surveyContainer"));});
Expected behavior
The comment box of the specialized question type should show it's comment value.
Screenshots
Please complete the following information:
Browser: Firefox
Browser version: 133.0.3
JS framework/library: Vanilla JS
SurveyJS version: 1.12.21
Device: PC
The text was updated successfully, but these errors were encountered:
Hi,
We researched a similar issue at #9378. The fix will be available with the next maintenance update. Once a new version is available, please check to see if it works as expected.
Describe the bug
When using a specialized question type that set
showOtherItem
to true, the comment box does not show the stored value.Steps to reproduce
Expected behavior
The comment box of the specialized question type should show it's comment value.
Screenshots
Please complete the following information:
The text was updated successfully, but these errors were encountered: