Single Selection Widget

Allows selecting a single value from a list of strings in an encapsulating component's view. The selected value is returned as a string flow variable.

The node supports custom CSS styling. You can simply put CSS rules into a single string and set it as a flow variable 'customCSS' in the node configuration dialog. You will find the list of available classes and their description on our documentation page.

Options

Control

Label
A descriptive label that will be shown in the view.
Description
Some lines of description that will be shown in the view, for instance by means of a tooltip.
Variable Name
Variable identifier.
Selection Type
The type of the selection element. This can be either radio buttons with a vertical or horizontal layout, a list or a dropdown selection.
Possible Choices
The possible choices, each line is one possible value.
Default Values
Values selected by default.
Limit number of visible options
By default the List component adjusts its height to display all possible choices without a scroll bar. If the setting is enabled, you will be able to limit the number of visible options in case you have too many of them. The setting is available only for List selection type.
Number of visible options
A number of options visible in the List component without a vertical scroll bar. Changing this value will also affect the component's height. The setting is available only for List selection type.

Re-execution

Re-execution on widget value change
If selected, widget emits reactivity events that trigger the re-execution of downstream nodes in a component composite view when its value changes. It allows users to create interactive Data Apps and visualizations.

Input Ports

This node has no input ports

Output Ports

Icon
Variable output (string) with the given variable defined from the selected value and the selected option as index.

Popular Predecessors

Views

Interactive View: Single Selection Widget
Displays a selection panel.

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.