You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Either add an "All" option at the top of the multi-select (and set that as the default), or add some kind of button/link in the label that selects all values when clicked.
@sibyllwangxxxx suggested the options in multi-select filter dropdowns be selected. Right now the options are not by default selected. This update would at least make the initial selections apparent to the user.
I tried out and really liked slim-select, a low-profile select framework: "slim-select": "^1.26.1"
input.each(function (d, i, selection) {
d.select = new SlimSelect({
select: this,
});
});
input.on('change', function (event, d) {
// Update filter object with current selection.
d.value = d.select.selected();
// Flag records in the data that should be excluded.
main.data.forEach((d) => {
d.include = main.settings.filters.every((filter) => {
return filter.value.includes(d[filter.var]);
});
});
});
Either add an "All" option at the top of the multi-select (and set that as the default), or add some kind of button/link in the label that selects all values when clicked.
[Based on feedback from @xni7]
The text was updated successfully, but these errors were encountered: