You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
Create template with mdc-select with *ngFor options.
Asynchronously assign dynamic options.
Set value of FormControl programmatically (via FormControl::setValue or FormGroup::patchValue).
What is the expected behavior?
mdc-select is selected on the option that has the newly assigned value.
What is the actual behavior?
mdc-select is selected on the first option.
Some reproducible snippet
Template
<div[formGroup]="form"><mdc-selectformControlName="select"><option*ngFor="let number of numbers" [value]="number">{{ number }}</option></mdc-select></div>