MatSelect valueChange does not emit an event when value is changed programmatically
- Dominant language
- TypeScript
- Stars
- 25k
- Forks
- 6.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 91
Description
#### What is the expected behavior?
MatSelect.valueChange should fire when MatSelect.value is set from code
#### What is the current behavior?
MatSelect.valueChange is not fired when MatSelect.value is set from code. MatSelect.valueChange is fired when the user selects a value.
#### What are the steps to reproduce?
https://stackblitz.com/edit/angular-fnxm1r?file=app%2Fselect-overview-example.ts
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular Material 7.3.6
Contributor guide
Research direction
Start with the linked StackBlitz reproduction, particularly app/select-overview-example.ts, and trace MatSelect.valueChange for user and programmatic value changes. Done means setting MatSelect.value from code emits the expected valueChange event, while preserving the existing user-selection behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100