Skip to content

Summary does not display uneditable columns from rep. group with mode "onlyTable" #4073

@tina-ahm

Description

@tina-ahm

Description of the bug

Both Summary and Summary2 do not show uneditable columns in repeating group with the mode "onlyTable". The expected behaviour is for the summary components to show the entire table.

Steps To Reproduce

  1. Add a repeating group to the layout page where edit.mode is onlyTable and one of the child components has tableColumns setting editInTable set to false. E.g.:
      {
        "id": "RepeatingGroupComponent",
        "type": "RepeatingGroup",
        ...
        "children": [
          "InputComponent"
          ...
        ],
        "edit": {
          "addButton": false,
          "deleteButton": false,
          "editButton": false,
          "mode": "onlyTable"
        },
        "tableColumns": {
          "InputComponent": {
            "editInTable": false
          },
          ...
        },
      },
       {
        "id": "InputComponent",
        "type": "Input",
        "textResourceBindings": {
          "title": "Title"
        },
        "dataModelBindings": {
          "simpleBinding": "DataModelPath"
        },
        "required": false,
        "readOnly": false,
      },
  1. Add a Summary or Summary2 component referencing the repeating group.
  2. See that the column with "editInTable": false is not visible in the summary.

Additional Information

The same issue has been mentioned in:

The repeating group:
Image

Summary with "editInTable": false:
Image

Summary2 with "editInTable": false:
Image

Summary with "editInTable": true:
Image

Summary2 with "editInTable": true:
Image

Metadata

Metadata

Labels

kind/bugSomething isn't workingsquad/utformingIssues that belongs to the named squad.

Type

No fields configured for Bug.

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions