3

Is it possible to use some expression or text containing a values list for the dropdown control to display them?

The goal is to use a short list of values and not have to create a related table for the Dropdown control works.

enter image description here

1
  • 3
    Maybe you can use the widget Value Map : "A combo box with predefined items. The value is stored in the attribute, the description is shown in the combo box. You can define values manually or load them from a layer or a CSV file". Commented May 3, 2023 at 12:38

1 Answer 1

2

Use the Value Map widget from the Widget Type dropdown in the Attributes Form:

enter image description here

You can set separate Values and Descriptions, or you can set the Descriptions to be the same as the Values if you just want to see the Values in the dropdown:

enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.