Support select multiple input binding
See original GitHub issuePerhaps we should support a multi-select input binding. Selected options could populate as an array.
A motivating use case is being able to bind Vega-Lite’s multi
selection to an input as well (vega/vega-lite#3722).
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Bindings / Select multiple • Svelte Tutorial
A select can have a multiple attribute, in which case it will populate an array rather than selecting a single value. Returning to...
Read more >Angular2: how bind to select multiple - Stack Overflow
Here's a multi-select list implementation that supports two-way databinding. I use @ViewChild instead of getElementById() .
Read more >Blazor Binding Support Multiple Options For - 'Select' HTML ...
In this article, we will explore the blazor application binding support multiple options for the 'Select' or 'InputSelect' which is .
Read more >Azure Cosmos DB input binding for Functions 2.x and higher
An Azure Cosmos DB SQL query used for retrieving multiple documents. The property supports runtime bindings, as in this example: SELECT * FROM...
Read more >select - AngularJS: API
HTML select element with AngularJS data-binding. The select directive is used ... multiple. (optional). string. Allows multiple options to be selected.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I like that Vega binds to standard html input elements so I would prefer to use a standard select with the multiple attribute. A consumer an still wrap the multi select in a fancy dropdown with search but by sticking to the native element we guarantee accessibility and reduce code size.
The Bokeh-based Python package Panel appears to have taken the approach of using the standard select with the
multiple
attribute (at least it seems so based on the look of the widget). Not sure if looking at their approach can be helpful at least conceptually, or if it is too unrelated to how it would be implemented in vega.