MerginMaps / MerginMaps/mobile

Relations always show the "+" button even when the child table is read-only (as defined in the QGIS project properties) or a view

Open
#4,640 2 comments 0 reactions 1 assignee View on GitHub

@xkello is already working on this.

Since Aug 25, 2026.

bug forms relations
Dominant language
C++
Stars
388
Forks
87
Avg merge
2d 7h
Merged PRs (30d)
20

Description

**Description**

I have a project with two 1:n relations.

In the first one the child table is a postgresql view, which is read-only by definition.
In the second the child table is a postgresql table which has been set as read-only in the QGIS project properties.

In MM App no features can be added or edited directly in this tables/views or when passing from the relation widget, as expected, BUT...

when navigating the form for the parent table, when one of this relations is shown, the "+" button is always shown... and indeed by pressing it it will open the form as it would for a table that is editable. This also happens for the view.

I believe this should not show when the child is not editable... also because in QGIS Desktop this works as expected... in the meantime...

Is there a way to hide the "+" button, for example the same way as the "nogallery" trick?

**Application (+ app version, build, operating system)**
2026.3.2 Android 16.

**Steps to reproduce**
See above.

**Screenshots**

Image

Image

Image

Image

"+" button should not be there

Image

by pressing it MM App allows to add a feature to table that is read only (or even a view)

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.