Forms
HomeIntegrityControlSolutionsManagement Center
2.0.0 Forms
2.0.0 Forms
  • The service
    • Overview
      • Forms and IAM
      • Products in the Control suite
    • About this release
      • Release notes
      • Breaking changes
    • Key components
      • Flow
        • Authenication & authorisation
      • Step
        • Layout
      • Control
        • Basic controls
          • Input
            • Properties
          • Markdown
            • Properties
          • ValuePicker
            • Properties
        • Advanced controls
          • Selector
            • Properties
          • ActiveDirectoryUserEditGroupMember
            • Properties
          • ActiveDirectoryGroupEditGroupMember
            • Properties
          • ActiveDirectorySingleSelect
            • Properties
          • Attestor
            • Properties
          • EntraGroupSelect
            • Properties
          • EntraGroupEditGroupMember
            • Properties
          • EntraUserSelect
            • Properties
          • EntraUserEditGroupMember
            • Properties
          • TextArea
            • Properties
    • Installation
      • Container
      • Linux
      • Windows
  • Modules
    • Forms
      • Properties
    • Pipes
      • Properties
    • Other modules
  • ATTESTATION
    • Setup
  • User interface (UI)
    • Overview
Powered by GitBook
On this page
Export as PDF
  1. The service
  2. Key components
  3. Control
  4. Basic controls
  5. ValuePicker

Properties

A value picker component, that lets the user select a given value from a list.

Control type: ValuePicker

Name
Description
Default
Mandatory

required

Must have a value when leaving the step. true/false

false

readonly

Open to edit by enduser. true/false

false

default_value

This value is selected per default

options

Select options (array of JSON objects).

N/A

options.title

An option title

N/A

options.value

An option value

N/A

{
    "id": "<enter_unique_id_for_this_control>",
    "type": "ValuePicker",
    "config": {
        "required": true,
        "default_value": "{{ flow.preferred_auth }}"
        "options": [
          {
            "title": "Username/Password",
            "value": "uidpwd"
          },
          {
            "title": "BankID",
            "value": "bankid"
           }
      ]
    }
}

{
    "id": "<enter_unique_id_for_this_control>",
    "type": "ValuePicker",
    "ui": {
        "ui:size": {
            "md": 6
        }
    },
    "config": {
        "required": false,
        "options": [
            {
                "title": "Human Resources",
                "value": "hr"
            },
            {
                "title": "Sale",
                "value": "sale"
            },
            {
                "title": "IT",
                "value": "it"
            },
            {
                "title": "Engineering",
                "value": "engineering"
            }
        ]
    }
}

PreviousValuePickerNextAdvanced controls

Last updated 5 months ago