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
{
"pages": [
{
"name": "page1",
"elements": [
{
"type": "dropdown",
"name": "country",
"title": "Select a country",
"description": "A full list of countries is queried from a RESTful web service.",
"defaultValue": "United Arab Emirates",
"choicesByUrl": {
"url": "https://surveyjs.io/api/CountriesExample",
"valueName": "name",
"titleName": "officialName"
}
}
]
}
],
"showQuestionNumbers": "off"
}
Set a default question answer. You can see that the list of options shows display names:
However, a drop-down displays a value instead of a display text on a design surface:
Expected output:
The text was updated successfully, but these errors were encountered:
T19772 - ChoicesByUrl display during the designer phase
https://surveyjs.answerdesk.io/internal/ticket/details/T19772
The issue can be reproduced at https://surveyjs.io/create-free-survey. Configure a drop-down to pull data from a web service:
Set a default question answer. You can see that the list of options shows display names:
However, a drop-down displays a value instead of a display text on a design surface:
Expected output:
The text was updated successfully, but these errors were encountered: