Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

select(trackBy): preset object triggers ngChange #11108

@zendu

Description

@zendu

This issue is very similar to what is mentioned in issue #4118.

I have mdSelect with ngModel which is already populated and ngModelOptions using trackBy option. mdSelect has ngChange handler to trigger some more model updates when user really changes selection.
Options are rendered using ngRepeat and use ngValue to select the object.

Problem: ngChange on mdSelect is triggered just by the preset object bound to the model.

https://codepen.io/zendu/pen/VQjBzG

AngularJS: v1.6.4
Material: v1.1.6

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions