-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Closed
Closed
Copy link
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 urgentarea: material/chips
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
Never
Description
Using a mat-chip-listbox with mat-chip-options in a reactive form, the initial state is totally ignored. It works perfectly with template driven forms.
In a multiple value case, even after clicking a chips, the whole array is replaced instead of only toggling the clicked chips value.
Reproduction
https://stackblitz.com/edit/angular-ahhyz3-hgok1g
Expected Behavior
Working just like template driven form version
Actual Behavior
The control value is well set but the concerned chips remain unselected
Environment
- Angular: 15.0.0
- CDK/Material: 15.0.0
- Browser(s): any
- Operating System (e.g. Windows, macOS, Ubuntu): any
Reactions are currently unavailable
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 urgentarea: material/chips