survey-creator
survey-creator copied to clipboard
A question's indent property value is not applied to Matrices within a design surface
User Issue: T15061 - The "Layout->Add indents" option in the Dynamic Matrix does not work https://surveyjs.answerdesk.io/internal/ticket/details/T15061
A question's indent property is not applied within a survey creator's design surface:
{
"logoPosition": "right",
"pages": [
{
"name": "page1",
"elements": [
{
"type": "text",
"name": "question1",
"indent": 3
},
{
"type": "matrixdropdown",
"name": "question2",
"indent": 3,
"columns": [
{
"name": "Column 1"
},
{
"name": "Column 2"
},
{
"name": "Column 3"
}
],
"choices": [
1,
2,
3,
4,
5
],
"rows": [
"Row 1",
"Row 2"
]
},
{
"type": "matrixdynamic",
"name": "question3",
"indent": 3,
"columns": [
{
"name": "Column 1"
},
{
"name": "Column 2"
},
{
"name": "Column 3"
}
],
"choices": [
1,
2,
3,
4,
5
]
}
]
}
]
}
However, this property works in a form library: https://codesandbox.io/s/adoring-sammet-gx4tgk?file=/src/json.js.