Properties
Properties for the ValuePicker control.
| Name | Description | Default | Mandatory |
|---|---|---|---|
type |
Must be ValuePicker |
N/A | Yes |
id |
Unique control id in the flow | N/A | Yes |
config.title |
Title shown for the control | empty | No |
config.required |
Require a value when leaving the step | false |
No |
config.readonly |
Read-only mode. config.read_only is also accepted by the backend |
false |
No |
config.always_include |
Include the value in requests even when unchanged | false |
No |
config.default_value |
Initial selected value | empty | No |
config.empty_value |
Value used to represent no selection | "" |
No |
config.options |
Array of selectable options | N/A | Yes |
config.options[].title |
Label shown for an option | N/A | Yes |
config.options[].value |
Value written for an option | N/A | Yes |
{ "id": "identificationMethod", "type": "ValuePicker", "config": { "required": true, "default_value": "{{ flow.preferred_auth }}", "options": [ { "title": "Username/Password", "value": "uidpwd" }, { "title": "BankID", "value": "bankid" } ] }}