diff --git a/src/components/select/nz-select.component.ts b/src/components/select/nz-select.component.ts index 6ea9fe70700..ee8a968502f 100644 --- a/src/components/select/nz-select.component.ts +++ b/src/components/select/nz-select.component.ts @@ -54,6 +54,11 @@ import { NzOptionPipe } from './nz-option.pipe'; (keydown.ArrowUp)="handleKeyUpEvent($event)" (keydown.ArrowDown)="handleKeyDownEvent($event)">
+
+ + {{ nzPlaceHolder }} + +
{{ _selectedOption?.nzLabel }}
@@ -173,7 +178,7 @@ export class NzSelectComponent implements OnInit, AfterContentInit, AfterContent _selectionPrefixCls = `${this._prefixCls}-selection`; _size: string; _value: string[] | string; - _placeholder = 'Placeholder'; + _placeholder = 'placeholder'; _notFoundContent = this._locale.translate('Select.notFoundContent'); _searchText = ''; _triggerWidth = 0; diff --git a/src/showcase/nz-demo-select/nz-demo-select-basic.component.ts b/src/showcase/nz-demo-select/nz-demo-select-basic.component.ts index d586d5e2877..f2f3548a9a9 100644 --- a/src/showcase/nz-demo-select/nz-demo-select-basic.component.ts +++ b/src/showcase/nz-demo-select/nz-demo-select-basic.component.ts @@ -3,7 +3,7 @@ import { Component, OnInit } from '@angular/core'; @Component({ selector: 'nz-demo-select-basic', template: ` - + - +