Widget Functionality
What it does
Renders a dropdown for selecting a value (e.g., a station id or variable path). The selection is published to the dashboard context so other widgets can filter/target accordingly.
Expected input
values: the list of items to present; strings are rendered as labels by default.allowedVars(optional): constrain which variables the widget is allowed to publish/target when used alongside variable-aware widgets.
Integration
No GraphQL calls are made by this widget.
The currently selected value is emitted via the Widget SDK context, making it easy to wire to other widgets’ props or to global filters.
What you’ll see
A compact dropdown listing your
values.On change, dependent widgets update (e.g., graphs switch to the selected station).