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
Expected behaviour
The order of the selected items doesn't change.
Actual behaviour
The order of the selected changes. It seems to be based on what is in the results of the filter. The bound filter.values doesn't change ordering.
Screenshots
Desktop (please complete the following information):
macOS 10.14
Chrome 69.0.3497.100
The text was updated successfully, but these errors were encountered:
* remotes/main/master: (25 commits)
chore(release): 2.13.3
fix: keep selected items while bindValue is incorrect closesng-select#993
chore(release): 2.13.2
fix: appended dropdown position (ng-select#957)
chore(release): 2.13.1
fix: map selected items while source changed closesng-select#980, ng-select#977, ng-select#959
chore(release): 2.13.0
[fix] - $event.path does not work in Safari and Firefox. Replace with $event.composedPath(). (ng-select#968)
feat(templates): add searchTerm to header and footer (ng-select#961)
chore(release): 2.12.1
chore: include scss with package closesng-select#909
fix: use classList instead of className closesng-select#940
add aria-selected attribute on selected items (ng-select#936)
fix: handler mousedown for clear event when used animation library (ng-select#931)
chore(release): 2.12.0
feat(autofocus): focus if attribute is present (ng-select#924)
feat(isOpen): treat undefined value as default behaviour closesng-select#816
feat: allow to customise clear icon fixesng-select#835
chore(demo): fix virtual scroll example closesng-select#921
fix: keep items order while mapping selected options fixesng-select#907
...
NickMele
pushed a commit
to NickMele/ng-select
that referenced
this issue
Apr 12, 2019
We are finding that the order of the selected items (only in the UI not the ngModel) is being affected by the results from a custom filter.
Example template
Reproducbile example
https://github.com/shusson/test-ng-select
To Reproduce
d
d
Expected behaviour
The order of the selected items doesn't change.
Actual behaviour
The order of the selected changes. It seems to be based on what is in the results of the filter. The bound
filter.values
doesn't change ordering.Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: