Skip to content

Value relation field - non-conforming value not displayed in edit mode #2148

@coastalrocket

Description

@coastalrocket

When a field's value doesn't match a value in the value relation it is not displayed in edit mode.

I've shared a sample project to demonstrate this - https://app.merginmaps.com/projects/andrewbailey/value_relation_test

Three points with a notes attribute of 'Good', 'Bad', 'Could be better'. A value relationship is defined that only allows 'Good' or 'Bad'. When loading the project into Input the value is displayed in the info pane after selecting it from the map but in edit mode the value is not displayed in the drop-down. I appreciate 'Could be better' should not be an option to select but currently the option box is blank indicating no data is stored in that field. I've got links to screenshots of both the QGIS project and the Input app below.

Info click https://photos.app.goo.gl/gUc8xz1f3DULXgjs5
Edit https://photos.app.goo.gl/2YnC9TU1i7D52mEj6
QGIS https://photos.app.goo.gl/JuGW5YTDutXZkiL3A

QGIS displays brackets around values when not in a value relationship. If the same could happen in Input that would be great.

Metadata

Metadata

Assignees

Labels

bugformsrelated to attribute formstest - successQA team accepted the item
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions