# Value relation issue

**URL:** https://community.qfield.org/t/value-relation-issue/790
**Category:** Ask the Community
**Tags:** gh-import
**Created:** [14 May 2025 02:59 UTC](https://community.qfield.org/t/value-relation-issue/790 "2025-05-14T02:59:44Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)
#### Post date: [14 May 2025 02:59 UTC](https://community.qfield.org/t/value-relation-issue/790/1 "2025-05-14T02:59:44Z")

</div>

Ever since I updated both QField and the Android Samsung tablet I’ve been having a value relation issue.

I have two layers: Station, Structure  
The Station layer has a Field Station ID. I also like to record the Station ID in the Structure layer.

Previously I had this setup in the Structure Layer Attribute Form and it would work in QField:

 ![image](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/41507639159d7fc1b5f8c9ebe32937fdecff793d.png)

But since the updates, I am unable to record a Station ID in the Station layer in QField. For some reason it is forcing a drop down (can’t text edit) that is completely empty.

When I test everything in QGIS it works with no issue.

I should probably set this up properly with a relation but this was a nice quick set up that, until now, worked.

EDIT: Stripped down project added  
[QField relation test.zip](https://github.com/opengisch/QField/files/8920885/QField.relation.test.zip)

I’m using a Samsung tablet, Android version 12. QField version 2.1.4 Bumblebee

* * *

_Imported from [GitHub discussion](https://github.com/opengisch/qfield/discussions/2983) by @dragonfire151 on 2022-06-16T15:21:56Z_

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)
#### Post date: [14 May 2025 02:59 UTC](https://community.qfield.org/t/value-relation-issue/790/2 "2025-05-14T02:59:45Z")

</div>

Feel free to attach a test project, that’ll increase chances of people looking at this.

Also, have you tried enabling the use completer checkbox?

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2983#discussioncomment-2965192) by @nirvn on 2022-06-16T15:42:00Z_

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)
#### Post date: [14 May 2025 02:59 UTC](https://community.qfield.org/t/value-relation-issue/790/3 "2025-05-14T02:59:47Z")

</div>

Added a stripped down project to the initial post.

I made some attempts with completer but ran into other issues.

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2983#discussioncomment-2965644) by @dragonfire151 on 2022-06-16T16:51:29Z_

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)
#### Post date: [14 May 2025 02:59 UTC](https://community.qfield.org/t/value-relation-issue/790/4 "2025-05-14T02:59:48Z")

</div>

[https://user-images.githubusercontent.com/1728657/174199248-1eaaf2a1-4bc2-4a71-8e06-8fab881157c5.mp4](https://user-images.githubusercontent.com/1728657/174199248-1eaaf2a1-4bc2-4a71-8e06-8fab881157c5.mp4)

This is what I get when trying your test project. I can see pre existing stations in the drop-down combobox and I can search for specific stations if I click on the magnification glass next to the combobox. I can’t see what’s broken in there, am I misunderstanding you?

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2983#discussioncomment-2967791) by @nirvn on 2022-06-17T00:30:50Z_

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)
#### Post date: [14 May 2025 02:59 UTC](https://community.qfield.org/t/value-relation-issue/790/5 "2025-05-14T02:59:50Z")

</div>

The problem is when you try to add a new station in the station layer. The structure layer works as desired.

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2983#discussioncomment-2971228) by @dragonfire151 on 2022-06-17T12:21:48Z_

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)
#### Post date: [14 May 2025 02:59 UTC](https://community.qfield.org/t/value-relation-issue/790/6 "2025-05-14T02:59:52Z")

</div>

dragonfire151 , can you attach a screencast please?

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2983#discussioncomment-2971252) by @nirvn on 2022-06-17T12:25:41Z_

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)
#### Post date: [14 May 2025 02:59 UTC](https://community.qfield.org/t/value-relation-issue/790/7 "2025-05-14T02:59:53Z")

</div>

When I bring up station and try to add a new one it shows a drop down with no data. Previously I was able to edit this field by adding text.

 ![Screenshot_20220617-073113](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/5b121c568e93f2907cda9af0b260d76e3c28f843.jpeg)

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2983#discussioncomment-2971361) by @dragonfire151 on 2022-06-17T12:42:51Z_

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)
#### Post date: [14 May 2025 02:59 UTC](https://community.qfield.org/t/value-relation-issue/790/8 "2025-05-14T02:59:54Z")

</div>

I’m using a Samsung tablet, Android version 12. QField version 2.1.4 Bumblebee

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2983#discussioncomment-2971418) by @dragonfire151 on 2022-06-17T12:50:30Z_

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)
#### Post date: [14 May 2025 02:59 UTC](https://community.qfield.org/t/value-relation-issue/790/9 "2025-05-14T02:59:56Z")

</div>

dragonfire151 , can you test the following beta APK: [Bump vcpkg baseline by m-kuhn · Pull Request #2963 · opengisch/QField · GitHub](https://github.com/opengisch/QField/pull/2963#issuecomment-1158743790)

I think the problem has already been addressed during the 2.2 dev cycle.

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2983#discussioncomment-2971770) by @nirvn on 2022-06-17T13:34:49Z_

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)
#### Post date: [14 May 2025 02:59 UTC](https://community.qfield.org/t/value-relation-issue/790/10 "2025-05-14T02:59:58Z")

</div>

I tried out that download and still the same issue is occurring.

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2983#discussioncomment-2971853) by @dragonfire151 on 2022-06-17T13:46:20Z_

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)
#### Post date: [14 May 2025 02:59 UTC](https://community.qfield.org/t/value-relation-issue/790/11 "2025-05-14T02:59:59Z")

</div>

dragonfire151 , this is what I see:

[https://user-images.githubusercontent.com/1728657/174311590-e8c534c9-d29f-4fce-bd85-07f1f408c0d0.mp4](https://user-images.githubusercontent.com/1728657/174311590-e8c534c9-d29f-4fce-bd85-07f1f408c0d0.mp4)

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2983#discussioncomment-2971903) by @nirvn on 2022-06-17T13:51:32Z_

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)
#### Post date: [14 May 2025 03:00 UTC](https://community.qfield.org/t/value-relation-issue/790/12 "2025-05-14T03:00:01Z")

</div>

Yea that’s how it should be working. Oof ok. The last thing to update would be the version of QGIS I’m running and that requires getting IT involved because my workplace is ridiculous.

Thank you so much for your help!

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2983#discussioncomment-2972033) by @dragonfire151 on 2022-06-17T14:09:58Z_

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)
#### Post date: [14 May 2025 03:00 UTC](https://community.qfield.org/t/value-relation-issue/790/13 "2025-05-14T03:00:02Z")

</div>

dragonfire151 , I’m using the zipped project you attached above against latest QField dev. Unless you did _not_ install the right APK, you should see the same Zip you attached working for you too. I don’t think you need to update QGIS.

Can you take a screenshot of the About QField panel (from the APK build you installed) and make a video of your issue? I’d like to rule out any lingering regression.

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2983#discussioncomment-2972068) by @nirvn on 2022-06-17T14:14:40Z_

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)
#### Post date: [14 May 2025 03:00 UTC](https://community.qfield.org/t/value-relation-issue/790/14 "2025-05-14T03:00:04Z")

</div>

[https://user-images.githubusercontent.com/107634973/174320339-0c4b2182-4ee2-](https://user-images.githubusercontent.com/107634973/174320339-0c4b2182-4ee2-)

 ![Screenshot_20220617-094023](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/43690a777ab01ffde792f322e3e732caeb60ffdb.jpeg)  
4f90-a842-a1f7faea84da.mp4

Hope these help!

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2983#discussioncomment-2972292) by @dragonfire151 on 2022-06-17T14:41:43Z_

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)
#### Post date: [14 May 2025 03:00 UTC](https://community.qfield.org/t/value-relation-issue/790/15 "2025-05-14T03:00:05Z")

</div>

Well, you definitely got the right build, and the field is visibly not configured properly. I’m perplexed by this. What’s your device model?

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2983#discussioncomment-2972399) by @nirvn on 2022-06-17T14:52:51Z_

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)
#### Post date: [14 May 2025 03:00 UTC](https://community.qfield.org/t/value-relation-issue/790/16 "2025-05-14T03:00:07Z")

</div>

It’s a Samsung Galaxy Tab Active3

I too am very perplexed! We don’t use the devices through the winter so when gearing up for field work everything needed an update, the tablet, QField, and the QField plugin within QGIS. This caused a few headaches, like the new file location on the tablet for data transfer. But this is the last bug to fix.

I have a work around and have simply disabled entering the station information on the structure layer and changed the Station ID field on the Station layer to a simple text edit. But when presented with a problem like this it’s hard to not want to solve it.

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2983#discussioncomment-2972465) by @dragonfire151 on 2022-06-17T15:03:37Z_

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)
#### Post date: [14 May 2025 03:00 UTC](https://community.qfield.org/t/value-relation-issue/790/17 "2025-05-14T03:00:08Z")

</div>

dragonfire151 , when you were testing just now, were you using the same zipped project you attached to this discussion or something slightly different? One of the nice things you can do with QField 2.1 is downloading the zip file in your browser and open it with QField, it’ll auto import the project. Maybe try that here to rule out a slightly different project on your end?

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2983#discussioncomment-2972491) by @nirvn on 2022-06-17T15:08:02Z_

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)
#### Post date: [14 May 2025 03:00 UTC](https://community.qfield.org/t/value-relation-issue/790/18 "2025-05-14T03:00:10Z")

</div>

Wow. That worked.

Previously I had used the QField plugin in QGIS to make an exported project. I then copied that exported project folder to the tablet and that one was causing me issues. So the exporter in the plugin update must be off somehow. That makes sense since an older project I had exported via the QField plugin before the plugin update worked fine.

So I guess I’ll just zip everything from now on!

Thanks again for going through this process with me!

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2983#discussioncomment-2972550) by @dragonfire151 on 2022-06-17T15:17:06Z_

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)
#### Post date: [14 May 2025 03:00 UTC](https://community.qfield.org/t/value-relation-issue/790/19 "2025-05-14T03:00:11Z")

</div>

H. I am getting the same results using qfield 2.4.5 on a pixel 4a (and also samsung tablets). The first layer in QGIS that has a field set to “text edit” appears as expected in QGIS which allows for adding features but as a combo box in qfield without the ability to add new featuers. It only does this if other layers are set as value relations linking back to this layer and field. I have imported the project via a zip file and get these results.

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2983#discussioncomment-4136603) by @jpnunn on 2022-11-14T13:40:49Z_

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)
#### Post date: [14 May 2025 03:00 UTC](https://community.qfield.org/t/value-relation-issue/790/20 "2025-05-14T03:00:13Z")

</div>

Slight update - still not fixed though! I changed the field names so they were NOT the same as i thought this might be the cause. Now in QGIS it still work as expected (one text edit, one combobox), but in QFIELD both the fields in both layers are just text edit input, despite one being setup as a value relation field (so should be combobox).

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2983#discussioncomment-4137078) by @jpnunn on 2022-11-14T14:11:34Z_

[Next page](https://community.qfield.org/t/value-relation-issue/790.md?page=2)
