MerginMaps / mobile

Mobile app for Mergin Maps 📲. Open QGIS projects and manage vector data on your phone, even offline 📶 (Android/iOS/Windows app)
https://merginmaps.com
GNU General Public License v2.0
292 stars 64 forks source link

Value relation entries beyond 10k cannot be selected #3297

Open uclaros opened 4 months ago

uclaros commented 4 months ago

On a value relation field with > 10000 entries, only the first 10k are selectable. Entries beyond the 10k mark can be searched but once selected they are not stored.

It seems that two different models are used for populating the list / searching and for fetching the selected key with convertToKey(), so the second one only contains the default first 10k entries.

ValentinBuira commented 3 weeks ago

I tried to replicate the issue setup in a public project at solar panel workspace cop/10k_relation_issue

But I could not reproduce the issue because as soon as I open the parent form the app become completely unresponsive