-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Description
What is the expected behavior?
Component mat-selection-list shouldn't change FormControl value when it is removed from view.
What is the current behavior?
Component mat-selection-list clears FormControl value when it is removed from view.
What are the steps to reproduce?
Material 7.1.1 (version i'm using)
https://stackblitz.com/edit/test-angular-mat-selection-list-7-1-1
Material 7.3.7 (latest)
https://stackblitz.com/edit/test-angular-mat-selection-list-7-3-7
- Open stackblitz console window
- Click "Select All" button
- Click "Toggle View" button
- Observe
FormsControl.valueChangeslogs whenmat-selection-listis removed from view:
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 7.x.x
Material 7.x.x
Is there anything else we should know?
I don't think so.
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgent
