surveyjs / survey-library

Free JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout.
https://surveyjs.io/form-library
MIT License
4.12k stars 802 forks source link

Rating Scale in Mobile/Dropdown mode - The minRateDescription and maxRateDescription labels do not appear for custom rating items #8861

Closed JaneSjs closed 6 hours ago

JaneSjs commented 1 day ago

T20022 - In Dropdown mode, Minimum and Maximum value labels not showing https://surveyjs.answerdesk.io/internal/ticket/details/T20022


{
  "logoPosition": "right",
  "pages": [
    {
      "name": "page1",
      "elements": [
        {
          "type": "rating",
          "name": "question1",
          "title": "Custom Ratings",
          "autoGenerate": false,
          "rateCount": 10,
          "rateValues": [
            10,
            20,
            30,
            40,
            50,
            60,
            70,
            80,
            90,
            100
          ],
          "minRateDescription": "Poor",
          "maxRateDescription": "Excellent",
          "displayMode": "dropdown"
        },
        {
          "type": "rating",
          "name": "question2",
          "title": "AutoGenerated Ratings",
          "rateCount": 10,
          "rateMax": 10,
          "minRateDescription": "Poor",
          "maxRateDescription": "Excellent",
          "displayMode": "dropdown"
        }
      ]
    }
  ]
}

For auto-generated items, min and max labels appear correctly: image

For custom items, min and max labels do not appear: image