What is the bug or the crash? What were your expectations and what actually happened?
Hi,
I encountered unexpected behavior (at least for me) when working with groups in attribute form.
Root containing only groups are automatically converted to tabs
If the root of the attribute form contains only groups, they are automatically converted into tabs in QField.
I expected to have multiple groups displayed vertically (without tabs).
This behavior is shown in layer1 of the sample project:
If there is at least one field at the root before the groups, tab conversion does not occur.
This is shown in layer2:
Root-level groups followed by fields cause fields to disappear in QField form
If the root contains:
QField converts the groups into tabs, but the trailing field is not displayed, the field appears to be ignored.
This is shown in layer3:
If all elements are wrapped inside a single parent group, the form behaves as expected (no unwanted tab conversion, and all fields are displayed).
This is shown in layer4:
Steps to reproduce the issue
Everyhting is inside this sample project : sample_project.zip
Version
Qfield 4.0.6 - Aare (d9e2cD4 v4.0.6) - QGIS 3.44.5 | GDAL/OGR 3.11.4 | Qt 6.9.3
Operating system name
Windows
Operating system version
Windows 11 Professionnel
Reinstall QField
Additional context
No response
What is the bug or the crash? What were your expectations and what actually happened?
Hi,
I encountered unexpected behavior (at least for me) when working with groups in attribute form.
Root containing only groups are automatically converted to tabs
If the root of the attribute form contains only groups, they are automatically converted into tabs in QField.
I expected to have multiple groups displayed vertically (without tabs).
This behavior is shown in
layer1of the sample project:If there is at least one field at the root before the groups, tab conversion does not occur.
This is shown in
layer2:Root-level groups followed by fields cause fields to disappear in QField form
If the root contains:
QField converts the groups into tabs, but the trailing field is not displayed, the field appears to be ignored.
This is shown in
layer3:If all elements are wrapped inside a single parent group, the form behaves as expected (no unwanted tab conversion, and all fields are displayed).
This is shown in
layer4:Steps to reproduce the issue
Everyhting is inside this sample project : sample_project.zip
Version
Qfield 4.0.6 - Aare (d9e2cD4 v4.0.6) - QGIS 3.44.5 | GDAL/OGR 3.11.4 | Qt 6.9.3
Operating system name
Windows
Operating system version
Windows 11 Professionnel
Reinstall QField
Additional context
No response