Skip to content

[MatSelect] Order in multiple mode #11871

Closed
@Howard-Song

Description

@Howard-Song

Bug, feature request, or proposal:

feature

What is the expected behavior?

Using MatSelect with multiple selection,(selectionChange) will give the result which sort by user selected order.

What is the current behavior?

When using MatSelect with multiple selection,(selectionChange) will give the result which sort by selected options order.I think this order should defined by developer,such as sort by user select or default options order.

What are the steps to reproduce?

Providing a StackBlitz reproduction is the best way to share your issue.

StackBlitz starter: https://goo.gl/wwnhMV

What is the use-case or motivation for changing an existing behavior?

Make select value sort rules defined by developer.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular: 6.0.0,
Material: 6.0.1,
OS: win10,
TypeScript: 2.7.2,
Browsers: Chrome@67.0.3396.87

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

P4A relatively minor issue that is not relevant to core functions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions