Dropdown Block Addon (dropdownBlockAddon)
PreviousButton Block Addon (buttonBlockAddon)NextRequest Vc Document Block Addon (requestVcDocumentBlockAddon)
Last updated
Last updated
The purpose of this block is to display an interactive dropdown menu in the interfaceDocumentsSourceBlock.
As shown in the example below, dropdownBlockAddon blocks should be placed inside interfaceDocumentsSourceBlock blocks. Source addons, which return documents for the dropdown, should be placed inside dropdownBlockAddon.
Dropdown block addon events will be automatically added to document source.
The API for the dropdownBlockAddon has both GET and POST methods:
Example response to the GET request:
A response to the GET request includes all block settings and:
β documents - Dropdown options
Example payload for the POST request:
β documentId - Selected document
β dropdownDocumentId - Dropdown item which was clicked
Property Name | Description | Example | Status |
---|---|---|---|