|
11 | 11 | <input igxInput #comboInput name="comboInput" type="text" [value]="displayValue.join(', ')" readonly
|
12 | 12 | [attr.placeholder]="placeholder" [disabled]="disabled"
|
13 | 13 | role="combobox" aria-haspopup="listbox"
|
14 |
| - [attr.aria-expanded]="!this.dropdown.collapsed" [attr.aria-controls]="this.dropdown.listId" |
15 |
| - [attr.aria-labelledby]="this.ariaLabelledBy || this.label?.id || this.placeholder" |
| 14 | + [attr.aria-expanded]="!dropdown.collapsed" [attr.aria-controls]="dropdown.listId" |
| 15 | + [attr.aria-labelledby]="ariaLabelledBy || label?.id || placeholder" |
16 | 16 | (blur)="onBlur()" />
|
17 | 17 | <ng-container ngProjectAs="igx-suffix">
|
18 | 18 | <ng-content select="igx-suffix"></ng-content>
|
|
28 | 28 | </igx-suffix>
|
29 | 29 | <igx-suffix class="igx-combo__toggle-button">
|
30 | 30 | <ng-container *ngIf="toggleIconTemplate">
|
31 |
| - <ng-container *ngTemplateOutlet="toggleIconTemplate; context: {$implicit: this.collapsed}"></ng-container> |
| 31 | + <ng-container *ngTemplateOutlet="toggleIconTemplate; context: {$implicit: collapsed}"></ng-container> |
32 | 32 | </ng-container>
|
33 | 33 | <igx-icon *ngIf="!toggleIconTemplate">
|
34 | 34 | {{ toggleIcon }}
|
35 | 35 | </igx-icon>
|
36 | 36 | </igx-suffix>
|
37 | 37 | </igx-input-group>
|
38 | 38 | <igx-combo-drop-down #igxComboDropDown class="igx-combo__drop-down" [displayDensity]="displayDensity"
|
39 |
| - [labelledBy]="this.ariaLabelledBy || this.label?.id || this.placeholder || ''" |
| 39 | + [labelledBy]="ariaLabelledBy || label?.id || placeholder || ''" |
40 | 40 | [width]="itemsWidth || '100%'" (opening)="handleOpening($event)" (closing)="handleClosing($event)"
|
41 | 41 | (opened)="handleOpened()" (closed)="handleClosed()">
|
42 | 42 | <div class="igx-combo__search">
|
|
57 | 57 | <div #dropdownItemContainer class="igx-combo__content" [style.overflow]="'hidden'"
|
58 | 58 | [style.maxHeight.rem]="itemsMaxHeightInRem" [igxDropDownItemNavigation]="dropdown" (focus)="dropdown.onFocus()"
|
59 | 59 | [tabindex]="dropdown.collapsed ? -1 : 0" [attr.id]="dropdown.id" aria-multiselectable="true"
|
60 |
| - [attr.aria-activedescendant]="this.activeDescendant"> |
61 |
| - <igx-combo-item [itemHeight]='itemHeight' *igxFor="let item of data |
| 60 | + [attr.aria-activedescendant]="activeDescendant"> |
| 61 | + <igx-combo-item [itemHeight]="itemHeight" *igxFor="let item of data |
62 | 62 | | comboFiltering:filterValue:displayKey:filteringOptions:filterFunction
|
63 | 63 | | comboGrouping:groupKey:valueKey:groupSortingDirection;
|
64 | 64 | index as rowIndex; containerSize: itemsMaxHeight; scrollOrientation: 'vertical'; itemSize: itemHeight"
|
|
102 | 102 | <span>{{resourceStrings.igx_combo_empty_message}}</span>
|
103 | 103 | </ng-template>
|
104 | 104 | <ng-template #addItemDefault let-control>
|
105 |
| - <button igxButton="flat" igxRipple>Add item</button> |
| 105 | + <button type="button" igxButton="flat" igxRipple>Add item</button> |
106 | 106 | </ng-template>
|
107 | 107 | <ng-template #headerItemBase let-item let-key="valueKey" let-groupKey="groupKey">
|
108 | 108 | {{ item[key] }}
|
|
0 commit comments