Skip to content

Commit 147bb32

Browse files
authored
Merge pull request #4920 from IgniteUI/iganchev/select-label-position
Ensure there is no initial placeholder value #4236
2 parents 3380c6e + 8026365 commit 147bb32

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/igniteui-angular/src/lib/select/select.component.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</ng-container>
88
<input #input class="input" type="text" igxInput [igxSelectItemNavigation]="this"
99
readonly="true"
10-
[placeholder]="this.placeholder"
10+
[attr.placeholder]="this.placeholder"
1111
[value]="this.selectionValue"
1212
role="combobox"
1313
aria-haspopup="listbox"

projects/igniteui-angular/src/lib/select/select.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export class IgxSelectComponent extends IgxDropDownComponent implements IgxSelec
118118
* An @Input property that sets input placeholder.
119119
*
120120
*/
121-
@Input() public placeholder = '';
121+
@Input() public placeholder;
122122
/**
123123
* An @Input property that disables the `IgxSelectComponent`.
124124
* ```html

0 commit comments

Comments
 (0)