Value Map on a Date field: saved value isn’t shown in the feature form
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- android, ios
- 領域
- mobile
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- C++
- スター
- 390
- フォーク
- 89
- 平均マージ
- 4日 12時間
- マージ済み PR(30日)
- 11
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
MerginMaps/mobile のほかの issue
-
bluetooth bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
MerginMaps/mobile#4741 ·
メンテナーはふだん 1 日以内に返信
-
bug ui/ux
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
MerginMaps/mobile#4669 ·
メンテナーはふだん 1 日以内に返信
-
bug Good first issue ui/ux
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
MerginMaps/mobile#4665 ·
メンテナーはふだん 1 日以内に返信
-
bug ui/ux
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
MerginMaps/mobile#4647 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
MerginMaps/mobile#4763 ·
メンテナーはふだん 1 日以内に返信
MerginMaps/mobile の issue をすべて見る
似ている issue
-
Status: Needs confirmation Status: Needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
boykopovar/AnyPS5#12124 ·
メンテナーはふだん 1 日以内に返信
-
bug-unconfirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
A-combat P-low S-ready-to-start task
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信