Closed JaneSjs closed 8 months ago
@tsv2013 Please use public getStoreOthersAsComment(): boolean
function in selectbase
.
public getStoreOthersAsComment(): boolean {
if (this.isSettingDefaultValue) return false;
if(this.showCommentArea) return false;
return (
this.storeOthersAsComment === true ||
(this.storeOthersAsComment == "default" &&
(this.survey != null ? this.survey.storeOthersAsComment : true)) ||
(this.hasChoicesUrl && !this.choicesFromUrl)
);
}
Thank you, Andrew
T17243 - A comment value replaces the Other option value https://surveyjs.answerdesk.io/internal/ticket/details/T17243
A checkbox has the Other and Comment options enabled.
A survey response.
A table displays the Comment value in the Other column as well as in the Q1 column: