diff --git a/app/jinja_filters.py b/app/jinja_filters.py index 6780478b7f..c3dfd776e3 100644 --- a/app/jinja_filters.py +++ b/app/jinja_filters.py @@ -665,7 +665,6 @@ def map_list_config(list_values: list[dict]) -> list[dict]: item["attributes"] = { "data-qa": f"list-item-{index}-label", - "data-list-item-id": value["list_item_id"], } items_list.append(item) diff --git a/tests/app/test_jinja_filters.py b/tests/app/test_jinja_filters.py index 9ba1bd697a..030240378f 100644 --- a/tests/app/test_jinja_filters.py +++ b/tests/app/test_jinja_filters.py @@ -1367,14 +1367,12 @@ def test_map_list_config(): "iconType": "check", "attributes": { "data-qa": "list-item-1-label", - "data-list-item-id": "1", }, }, { "text": "Clark Kent", "attributes": { "data-qa": "list-item-2-label", - "data-list-item-id": "2", }, }, ]