Skip to content

MatSelect - Selected value is outdated when "change" event is fired #8739

@diogodomanski

Description

@diogodomanski

Bug, feature request, or proposal:

At the moment the "change" event is fired, the property binding [(value)] is still outdated.

What is the expected behavior?

All bindings to the new selected value should be updated too.

What is the current behavior?

Bindings to the new selected value are outdated at the moment the "change" event is fired.

What are the steps to reproduce?

http://plnkr.co/edit/EDVS5r0FAcwY7Rfhr0De?p=preview

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

If the bindings to value property is updated at the moment the change event is fired, it would be not needed to workaround some programming strategies (by creating aditional functions/methods).

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

5.0.0-rc.2

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