File tree 1 file changed +8
-2
lines changed
projects/igniteui-angular/src/lib/date-range
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 70
70
< ng-template #defTemplate >
71
71
< igx-date-single >
72
72
<!-- display format instead? what about shortDate, etc? -->
73
- < input #singleInput igxInput [placeholder] ="appliedFormat " type ="text " readonly >
73
+ < input #singleInput igxInput type ="text " readonly
74
+ [placeholder] ="this.value ? '' : appliedFormat "
75
+ role ="combobox "
76
+ aria-haspopup ="grid "
77
+ [attr.aria-expanded] ="!this.toggleDirective?.collapsed "
78
+ [attr.aria-labelledby] ="this.label?.id "
79
+ />
74
80
75
81
< igx-prefix *ngIf ="!this.prefix && !this.suffix " (click) ="open() ">
76
82
< ng-container *ngTemplateOutlet ="defIcon "> </ ng-container >
80
86
< ng-container *ngTemplateOutlet ="this.prefix.templateRef "> </ ng-container >
81
87
</ igx-prefix >
82
88
83
- < ng-container ngProjectAs ="igxLabel ">
89
+ < ng-container ngProjectAs ="[ igxLabel] ">
84
90
< ng-container *ngTemplateOutlet ="this.label ? labelTemplate : defLabel "> </ ng-container >
85
91
</ ng-container >
86
92
< ng-container ngProjectAs ="igx-prefix ">
You can’t perform that action at this time.
0 commit comments