我的表单中有一个带有多个选项的 mat-select(您可以在此处查看演示)。
<mat-form-field style="width: 100%">
<mat-select placeholder="Toppings" [formControl]="toppings" multiple>
<mat-option *ngFor="let topping of toppingList" [value]="topping">{{topping}}</mat-option>
</mat-select>
</mat-form-field>
Run Code Online (Sandbox Code Playgroud)
它在其输入字段中显示以逗号分隔的选定选项列表。有什么办法可以改变分隔符吗?