Value Map on a Date field: saved value isn’t shown in the feature form
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- android, ios
- Ambito
- mobile
Direzione di ricerca
Start by tracing how the feature form reads and displays Date fields with QGIS Value Maps; the issue does not name source files or tests. Compare that path with the working Integer, Decimal, Text, and Boolean Value Map fields, then reproduce using the trees layer’s inspection_date field. Done when the saved date description appears in preview and edit and its entry is selected.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
When a Date field uses a Value Map, the selected value is saved correctly, but after saving the field is shown empty in the app’s feature form.
In QGIS the saved date matches the Value Map entry and its description is shown, so the data is correct and only the display in the app is affected.
Other field types with a Value Map (Integer, Decimal, Text, Boolean) work correctly.
Project: tester-ws-1 / test_tree_survey
Environment
Staging/ Production
Application (+ app version, build, operating system)
Mergin Maps iOS /Android — 2026.5.0
iOS: 26.0 / Android: 16
Steps to reproduce
- In the app, add a new feature in the trees layer.
- Tap inspection_date and select 2026-09-23 – Autumn.
- Save the feature.
- Open the feature (preview), then tap Edit.
- Sync the project and open the attribute table in QGIS.
Actual results
Step 2: ✅ the field shows 2026-09-23 – Autumn.
Step 4: ❌ inspection_date is empty in the form.
Step 5: ✅ the date is saved correctly in QGIS and matches the Value Map (the description is shown).
Expected results
After saving, the app shows the saved value’s description (2026-09-23 – Autumn) in preview and edit, and the entry is marked as selected in the list, the same as QGIS.
Screenshots
https://github.com/user-attachments/assets/281bec93-7f76-40aa-ace8-cce232cb19b7
- Lingua principale
- C++
- Stelle
- 390
- Fork
- 89
- Merge medio
- 4g 12h
- PR unite (30g)
- 11
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di MerginMaps/mobile
-
bluetooth bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
MerginMaps/mobile#4741 ·
I maintainer di solito rispondono entro 1 giorno
-
bug ui/ux
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
MerginMaps/mobile#4669 ·
I maintainer di solito rispondono entro 1 giorno
-
bug Good first issue ui/ux
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
MerginMaps/mobile#4665 ·
I maintainer di solito rispondono entro 1 giorno
-
bug ui/ux
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
MerginMaps/mobile#4647 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
MerginMaps/mobile#4763 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di MerginMaps/mobile
Issue simili
-
Status: Needs confirmation Status: Needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
boykopovar/AnyPS5#12124 ·
I maintainer di solito rispondono entro 1 giorno
-
bug-unconfirmed
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
A-combat P-low S-ready-to-start task
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno