Hi,
I realized in V1, when we have dropdown question, if we put label same as value in "choices", the json is like
JSON[ {
"value": "1 year",
"text": "1 year"
},
{
"value": "2 years",
"text": "2 years"
},
{
"value": "3 years",
"text": "3 years"
}
]
but in V2, the json is like
JSON[
"1 year",
"2 years",
"3 years"
]
I have some code like
JavaScriptconst label = survey.getQuestionByName('...').choices.text
, if I migrate the library from v1 to v2, will this code get impact? will label be undefined?