Question T6958
Visible to All Users

Default value for other option is not updating for choice based questions

created 4 years ago

Hi Team,

can you please look into this issue.
let me know whether it is an issue or I'm missing something here.

Here is plunkr example-
https://plnkr.co/edit/WkQrlcyKirbGYzFJ

Thanks,
Nitin

Answers approved by surveyjs Support

created 4 years ago

Hello Nitin,
I am not sure, what is the correct behavior here. Since "default value" doesn't exists it goes into other/"other comment", the "other-comment' from data doesn't apply for some reason.
Should we ignore default value, if it is not correct and survey.storeOthersAsComment is true (default value for this property)?

Thank you,
Andrew
SurveyJS Team

    Show previous comments (7)

      Hello Nitin,
      Sorry, what should I do to reproduce the issue?

      Thank you,
      Andrew
      SurveyJS Team

        I have shared plunkr example.

        You can uncheck other option and then re select it for question1. you will find other option box empty.

          Got it. Unfortunately, since we store comment in the value, then on changing the value and removing from value, the comment is gone together with value.

          Thank you,
          Andrew
          SurveyJS Team