question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support select multiple input binding

See original GitHub issue

Perhaps 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:open
  • Created 5 years ago
  • Reactions:2
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
domoritzcommented, Feb 2, 2021

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.

1reaction
joelostblomcommented, Feb 4, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found