Flavors of type "List" and "Multiselect" offer predefined values to choose from. With List, exactly one value can be selected (single selection); with Multiselect, several values can be selected. This article shows how to create such Flavors and select values.
Create a Flavor with selectable values
- Open the task dialog or the master data of a project and select the
+next to the group name in the flavor section. - Select
Create flavorand then, in theBasicarea, the typeListorMultiselect. - Enter a name in the
Titlefield, for example "Catering". - Under
Values to choose from, selectAdd value, type the first value and confirm withEnter. Repeat this for each further value. - Click
Create.
If you already have a list of values, you can add several values at once. This is described in the article Flavors.
Select a value in a List
Click in the field of the Flavor. A selection opens with a search field and all values. Select a value. The selection replaces the placeholder Empty. The entry - stands for "empty".
Select values in a Multiselect
Click in the field of the Flavor. Selected values are marked with a check mark in the selection. The selection stays open after each click, so several values can be selected one after the other. The selected values appear next to each other in the field.
More settings
- Order of values: Values can be sorted by drag & drop or alphabetically, see Define the value order for List or Multi-selection types.
-
Placeholder: Instead of
Empty, a custom placeholder can be defined, see Placeholder for selection Flavors. - More options such as visibility, required field and category are described in the article Flavor configuration.
Comments
0 comments
Please sign in to leave a comment.