I am probably missing something basic here but am using mat-button-toggle-group and want to be able to use it as a radio button or as checkboxes depending upon application state ie radio button:
<mat-button-toggle-group>
and checkbox:
<mat-button-toggle-group multiple>
Normally, I would add and remove a tag's attributes something like this:
<mat-button-toggle-group [attr.multiple]="test ? multiple:null">
..but this doesn't appear to work. Any ideas?