entities:
- name
- id
slots:
name:
type: unfeaturized
auto_fill: false
id:
type: unfeaturized
auto_fill: false
templates:
utter_multiselect:
- custom:
blocks:
- type: section
text:
text: Pick one or more items from the list
type: mrkdwn
accessory:
type: multi_static_select
placeholder:
type: plain_text
text: Select items
options:
- text:
type: plain_text
text: Jack
value: value-0
- text:
type: plain_text
text: {name}
value: value-1
- text:
type: plain_text
text: John
value: value-2
Trying to access the value in the “name” entity which has been set by custom action however, it results in value NULL and as a result, the multiselect does not render in the UI. Trying this on slack and got the format for the Multiselect from Slack’s Block Kit Builder.
Works fine if I hardcode the values but, a solution to put values dynamically in the multiselect dropdown is the one I am aiming for.