Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter values in forms' relation reference #632

Open
FelixHinckel opened this issue Jan 27, 2025 · 0 comments
Open

Filter values in forms' relation reference #632

FelixHinckel opened this issue Jan 27, 2025 · 0 comments

Comments

@FelixHinckel
Copy link

FelixHinckel commented Jan 27, 2025

I have a QGis project, whith a relation between an observation layer, and a list of species.

The list :

Image
On this list, 3 protected species, and one unprotected.

The observation layer :

Image
The observation is only described by the name of the species.

Both layers are linked by a project relation :

Image

In the observation layer's form, the name of the species is chosen via a relation reference.

Image
There is a filter on the relation : only protected species can be selected.

In Qgis, when I want to add an observation, I can choose from these three species :

Image

But in QField, when I want to add an observation, the filter is not active :

Image

Is there a way to activate the filter?
(It works for Value Relation, but I need to use a relation reference.)

QGis 3.34.6-Prizren
QField 3.4.2 Ebo (Windows ans Android versions)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant