Skip to content

Commit

Permalink
Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
github-cyprien committed Jun 11, 2024
1 parent 3d1e5f0 commit e7af09e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/nodes/widgets/ui-dropdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ props:
Allow Multiple:
description: Whether or not a user can select multiple options, if so, checkboxes are shown, and value is emitted in an array.
dynamic: true
Chips:
description: Show selected elements in chips.
dynamic: false
Clearable:
description: Clear selection with button.
dynamic: false
dynamic:
Label:
payload: msg.ui_update.label
Expand Down Expand Up @@ -62,3 +68,6 @@ To make a single selection, pass in the `value` of the option as `msg.payload`,

![Example of a dropdown](/images/node-examples/ui-dropdown.png "Example of a dropdown"){data-zoomable}
*Example of a rendered dropdown in a Dashboard.*

![Example of a multiple selection dropdown](/images/node-examples/ui-dropdown-multi-chips-clearable.png "Example of a multiple selection dropdown"){data-zoomable}
*Dropdowm with multiple selection, chips and clear button.*
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e7af09e

Please sign in to comment.