Skip to content

Commit

Permalink
Feat: Add a Reset signal input to Multi Choice With Pills (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtamagotchi authored Dec 5, 2023
1 parent 86e95dc commit 379ed36
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions library/prefabs/multi-choice-with-pills/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ The example below shows how to hook the **Multi Choice With Pills** up to data i
As input it takes three arrays of strings, one containing all possible options, the **Options** input, this is the "value" of the options, it might differ from the labels, i.e. what is shown on screen. This you can specify with the **Labels** array input, it must have the same number of strings in the array, each one corresponding to a value in the **Options** array.

The final array is the **Selection** array, it contains all options that are selection. There is also an output from the component called **Selection** which is updated when the user interacts with the component, the **Selection Changed** event is triggered.

This component also features a **Reset** signal input, that can be used to clear the selection.
2 changes: 1 addition & 1 deletion static/library/prefabs/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"label": "Multi Choice with Pills",
"desc": "A multi select drop down, showing the selected items as pills.",
"icon": "library/prefabs/multi-choice-with-pills/multi-choice-with-pills.png",
"project": "library/prefabs/multi-choice-with-pills/multi-choice-with-pills-0-8.zip",
"project": "library/prefabs/multi-choice-with-pills/multi-choice-with-pills-0-9.zip",
"docs": "/library/prefabs/multi-choice-with-pills/",
"tags": ["UI"]
},
Expand Down
Binary file not shown.

0 comments on commit 379ed36

Please sign in to comment.