We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16b2172 commit 11e7549Copy full SHA for 11e7549
src/lib/select/select.html
@@ -5,7 +5,11 @@
5
#origin="cdkOverlayOrigin"
6
#trigger>
7
<div class="mat-select-value">
8
- <ng-container *ngIf="empty"> </ng-container>
+ <!--
9
+ TODO(mmalerba): is currently broken in components with preserveWhitespace: false, so we
10
+ evaluate it as a JS string binding instead. Change back to once it works again.
11
+ -->
12
+ <ng-container *ngIf="empty">{{'\xa0'}}</ng-container>
13
<span class="mat-select-value-text" *ngIf="!empty" [ngSwitch]="!!customTrigger">
14
<span *ngSwitchDefault>{{ triggerValue }}</span>
15
<ng-content select="md-select-trigger, mat-select-trigger" *ngSwitchCase="true"></ng-content>
0 commit comments