Я пытаюсь реализовать список с одним выбором, обновил мой проект на angular 9,
<mat-selection-list #shoes [multiple]="false">
<mat-list-option *ngFor="let shoe of typesOfShoes">
{{shoe}}
</mat-list-option>
</mat-selection-list>
похоже, что [multiple] = "false" не дает никакого эффекта! Я взял пример отсюда: https://stackblitz.com/angular/mjqmynpkqnp?file=src%2Fapp%2Flist-single-selection-example.html
Angular CLI: 9.1.8
Node: 12.18.0
OS: win32 x64
Angular: 9.1.11
... animations, common, compiler, compiler-cli, core, forms
... language-service, localize, platform-browser
... platform-browser-dynamic, platform-server, router
Ivy Workspace: Yes
Package Version
--------------------------------------------------------------------
@angular-devkit/architect 0.901.8
@angular-devkit/build-angular 0.901.8
@angular-devkit/build-optimizer 0.901.8
@angular-devkit/build-webpack 0.901.8
@angular-devkit/core 9.1.8
@angular-devkit/schematics 9.1.8
@angular/cdk 7.3.7
@angular/cli 9.1.8
@angular/flex-layout 9.0.0-beta.31
@angular/http 7.2.2
@angular/material 7.3.7
@ngtools/webpack 9.1.8
@nguniversal/module-map-ngfactory-loader 7.1.0
@schematics/angular 9.1.8
@schematics/update 0.901.8
rxjs 6.5.5
typescript 3.8.3
webpack 4.42.0