Listbox: select all option does not work well when using the filter #1862

Dekel-Cohen opened this Issue Jan 19, 2017 · 2 comments


None yet

3 participants


I'm submitting a ... (check one with "x")

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already
[ ] support request => Please do not submit support request here, instead see

Plunkr Case (Bug Reports)
I tried to build a Plunkr Case for it but i encountered importing the Listbox module.
Any help with it will be much appreciated.

Current behavior
Filter the multi-select, you will see that the list box shows all items that contains the entered filter
but clicking will only select items that begins with the entered filter.

Expected behavior
Select-all should select all options you currently see on the listbox.

Minimal reproduction of the problem with instructions

  1. Go to the documentation of Listbox:
    use the Advanced (Multiple, Checkbox and Filter) demo.
  2. In the filter enter the letter 'r' => (you will see only options that contains the letter 'r', which is good)
  3. Click on select-all => only Rome will be selected.

What is the motivation / use case for changing the behavior?
We think that selecting all items once you use the filter if a very common
and important case in this component.
It definitely the case for us...

@Mrtcndkn Mrtcndkn self-assigned this Jan 20, 2017
@Mrtcndkn Mrtcndkn added the defect label Jan 20, 2017
@Mrtcndkn Mrtcndkn added this to the 2.0-RC2 milestone Jan 20, 2017
@Mrtcndkn Mrtcndkn added a commit that closed this issue Jan 20, 2017
@Mrtcndkn Mrtcndkn fixed #1862 2e1eeab
@Mrtcndkn Mrtcndkn closed this in 2e1eeab Jan 20, 2017
@cagataycivici cagataycivici reopened this Jan 26, 2017

@Mrtcndkn This does not fix that, it just changes the way filtering is done. Issue is still there.


My bad, it fixes it, sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment