Value Map on a Date field: saved value isn’t shown in the feature form
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- android, ios
- Lĩnh vực
- mobile
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- C++
- Star
- 390
- Fork
- 89
- Merge trung bình
- 5 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 13
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của MerginMaps/mobile
-
bluetooth bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
MerginMaps/mobile#4741 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug ui/ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
MerginMaps/mobile#4669 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug Good first issue ui/ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
MerginMaps/mobile#4665 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug ui/ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
MerginMaps/mobile#4647 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
MerginMaps/mobile#4763 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của MerginMaps/mobile
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
scp-fs2open/fs2open.github.com#7965 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
elf-alchemist/elfbsp#113 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
patrick-hudson/put.gd-desktop#979 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Dao-AILab/flash-attention#3097 ·
Maintainer thường phản hồi trong vòng 3 ngày