mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(select): prevent nbsp from getting butchered in AOT (#7363)
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
TODO(mmalerba): is currently broken in components with preserveWhitespace: false, so we
|
||||
evaluate it as a JS string binding instead. Change back to once it works again.
|
||||
-->
|
||||
<ng-container *ngIf="empty">{{'\xa0'}}</ng-container>
|
||||
<ng-container *ngIf="empty">{{'\u00A0'}}</ng-container>
|
||||
<span class="mat-select-value-text" *ngIf="!empty" [ngSwitch]="!!customTrigger">
|
||||
<span *ngSwitchDefault>{{ triggerValue }}</span>
|
||||
<ng-content select="mat-select-trigger" *ngSwitchCase="true"></ng-content>
|
||||
|
||||
Reference in New Issue
Block a user