在material2初始化select时,未选择默认值。如果用户选择一个值,他不能取消选择它。我想让用户取消选择该值。如何取消选择md-select中的选定选项Angular2
我通过help already available去,但无法使用它。
<mat-select id="formal" formControlName="formal" placeholder="Default - No value selected">
<mat-option value="1">formal</mat-option>
<mat-option value="2">informal</mat-option>
</mat-select>
plunkr链接boken – eagor