Multiselect doesn't disable options if selectionLimit reached by default value #7187
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
Please demonstrate your case at stackblitz by using the issue template below. Issues without a test case have much less possibility to be reviewd in detail and assisted.
https://stackblitz.com/edit/ngprime-multiselect-qvvtfu?file=src/app/app.component.ts
Current behavior
I have 2 values already passed as default value with selectionLimit to 2. Once I open dropdown, other options are still enabled. Once I click on one of them, it closes the dropdown, disables options and doesn't select any value.
Expected behavior
I would expect that when I open dropdown, options should already be disabled.
Minimal reproduction of the problem with instructions
Follow stackblitz test link and open dropdown. You will see other options as selectable.
Language: all
Node (for AoT issues):
node --version
=The text was updated successfully, but these errors were encountered: