The Dropdown block allows the user to select an item. But what is an item and how do we define it?
It can be created using a JSON input, and we provide two options:
- a simple array with items
- an array of objects that require the keys label and value
Below we provide two examples.
is loading …
is loading …
Edit the text block below (we can make the text editable so the user can change it) and check the dropdown updates live:
is loading …
Pay attention to the value that you select from the Dropdown and next at its output value which can be used as an input of another block. If the items of the JSON array are Objects, the label
can be selected, and the value
is its corresponding output.
is loading …
is loading …
For more details please see the corresponding documentation.
Leave a Reply
You must be logged in to post a comment.