Skip to content

Commit 77ba2ba

Browse files
authored
fix(combo): fix combo search input theme and type (#15350)
1 parent 9b18b5f commit 77ba2ba

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
[width]="itemsWidth || '100%'" (opening)="handleOpening($event)" (closing)="handleClosing($event)"
3737
(opened)="handleOpened()" (closed)="handleClosed()">
3838
<div class="igx-combo__search" *ngIf="displaySearchInput">
39-
<igx-input-group>
39+
<igx-input-group type="line">
4040
<input igxInput #searchInput name="searchInput" autocomplete="off" type="text"
4141
[(ngModel)]="searchValue" (ngModelChange)="handleInputChange($event)" (keyup)="handleKeyUp($event)"
4242
(keydown)="handleKeyDown($event)" (focus)="dropdown.onBlur($event)" [attr.placeholder]="getSearchPlaceholderText()"

projects/igniteui-angular/src/lib/input-group/input-group.component.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { DOCUMENT, NgIf, NgTemplateOutlet, NgClass, NgSwitch, NgSwitchCase, NgSwitchDefault } from '@angular/common';
22
import {
3-
AfterViewInit,
43
ChangeDetectorRef,
54
Component,
65
ContentChild,
@@ -36,7 +35,7 @@ import { IgxTheme, THEME_TOKEN, ThemeToken } from '../services/theme/theme.token
3635
standalone: true,
3736
imports: [NgIf, NgTemplateOutlet, IgxPrefixDirective, IgxButtonDirective, NgClass, IgxSuffixDirective, IgxIconComponent, NgSwitch, NgSwitchCase, NgSwitchDefault]
3837
})
39-
export class IgxInputGroupComponent implements IgxInputGroupBase, AfterViewInit {
38+
export class IgxInputGroupComponent implements IgxInputGroupBase {
4039
/**
4140
* Sets the resource strings.
4241
* By default it uses EN resources.
@@ -454,7 +453,7 @@ export class IgxInputGroupComponent implements IgxInputGroupBase, AfterViewInit
454453
}
455454

456455
/** @hidden @internal */
457-
public ngAfterViewInit() {
456+
public ngAfterContentChecked() {
458457
this.setComponentTheme();
459458
}
460459
}

0 commit comments

Comments
 (0)