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.01k stars 782 forks source link

Dynamic Matrix: The title is cut off when `titleLocation` is set to `"left"` #8307

Closed JaneSjs closed 1 month ago

JaneSjs commented 1 month ago

T18257 - default value not working in dynamic panel https://surveyjs.answerdesk.io/internal/ticket/details/T18257


When a matrix has the titleLocation: "left", the title is overlapped and cut of. The problematic survey JSON:

{
 "logoPosition": "right",
 "pages": [
  {
   "name": "Journeys",
   "elements": [
    {
     "type": "matrixdynamic",
     "name": "question2",
     "title": "Please enter some information",
     "titleLocation": "left",
     "columns": [
      {
       "name": "Column 2",
       "cellType": "text"
      },
      {
       "name": "Column 3",
       "cellType": "radiogroup"
      }
     ],
     "choices": [
      1,
      2,
      3,
      4,
      5
     ],
     "rowCount": 0
    }
   ]
  }
 ],
 "showQuestionNumbers": "off"
}

image