There was an error while loading. Please reload this page.
1 parent 7a2d3b6 commit 30672d7Copy full SHA for 30672d7
1 file changed
components/select/select-item.component.ts
@@ -26,9 +26,9 @@ import { NzIconModule } from 'ng-zorro-antd/icon';
26
template: `
27
<ng-container *nzStringTemplateOutlet="contentTemplateOutlet; context: templateOutletContext">
28
@if (displayLabelInHtml) {
29
- <div [class.ant-select-selection-item-content]="deletable" [innerHTML]="label"></div>
+ <span [class.ant-select-selection-item-content]="deletable" [innerHTML]="label"></span>
30
} @else {
31
- <div [class.ant-select-selection-item-content]="deletable">{{ label }}</div>
+ <span [class.ant-select-selection-item-content]="deletable">{{ label }}</span>
32
}
33
</ng-container>
34
@if (deletable && !disabled) {
0 commit comments