Hi,
I have observed the following discrepancy in the rendering of table-list
and wanted to understand what has changed.
This is how it appears in v4.2.0:
And this is how it appears in 4.5.1:
Yikes! This is a bug with the CSS. It appears this problem was introduced in 4.5.0
. I have logged an issue to get this fixed. Thank you for reporting this!
opened 03:16PM - 15 Mar 24 UTC
Type: Bug
Enketo
Affects: 4.5.0
Affects: 4.5.1
Affects: 4.5.2
**Describe the bug**
In Enekto forms, you can create a [grid of select question… s](https://docs.getodk.org/form-question-types/#grid-of-selects-on-the-same-screen) that all have the same choices so that the choice labels are only displayed once.
Unfortunately. the CSS to hide the subsequent choice labels in the matrix seems to have been broken with these changes: https://github.com/medic/cht-core/pull/8672
**To Reproduce**
Create a form with either of the following select matrix patterns (note that Enekto supports both the `table-list` and the `list-nolabel` appearance patterns, but only the `list-nolabel` pattern is included in the ODK docs):
type | name | label::en | appearance
-- | -- | -- | --
begin_group | table_list_test | Table | field-list
select_one yes_no | table_list_test_label | Table | label
select_one yes_no | table_list_1 | Q1 | list-nolabel
select_one yes_no | table_list_2 | Question 2 | list-nolabel
end group | | |
begin group | table_list_test2 | Table (alternative method) | table-list
select_one yes_no | table_list_3 | Q1 |
select_one yes_no | table_list_4 | Question 2 |
end_group | | |
Open the form on a CHT instance `>=4.5.0` and see that the labels for the matrix choices are not hidden as expected.
**Screenshots**
This is the expected behavior:

This is how it looks now:

**Additional context**
Originally reported [on the forum](https://forum.communityhealthtoolkit.org/t/changes-in-table-list/3384)
2 Likes
@iesmail FYI the fix for this is released in 4.7.0 .
1 Like