mirror of
https://github.com/noodlapp/noodl-docs.git
synced 2026-01-11 14:52:54 +01:00
Feat: Add a Reset signal input to Multi Choice With Pills (#48)
This commit is contained in:
@@ -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.
|
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.
|
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.
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
"label": "Multi Choice with Pills",
|
"label": "Multi Choice with Pills",
|
||||||
"desc": "A multi select drop down, showing the selected items as 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",
|
"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/",
|
"docs": "/library/prefabs/multi-choice-with-pills/",
|
||||||
"tags": ["UI"]
|
"tags": ["UI"]
|
||||||
},
|
},
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user