Closed
Description
Reproduction
StackBlitz: https://stackblitz.com/edit/angular-reabu9?file=src%2Fapp%2Fapp.module.ts
Steps to reproduce:
0. (Skip these steps and just refer to the StackBlitz)
- Create a Reactive Form with MatSelect component
- Set the initial value for the MatSelect component when creating the form (e.g. with FormBuilder, etc.)
- Display the value of the MatSelect (e.g. using a template ref:
<mat-select #select>...</mat-select> ... {{ #select.value }}
)
Expected Behavior
The value of #select.value should be equal to the initial value set in the FormGroup/FormControl
Actual Behavior
The value for #select.value is empty
Environment
- Angular: 8
- CDK/Material: 8
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): macOS