Skip to content

Commit 00e96dc

Browse files
committed
fix(combo): bypassing require logic applied by igxInput
1 parent fe93e9b commit 00e96dc

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/combo/combo.common.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1322,7 +1322,6 @@ export abstract class IgxComboBaseDirective implements IgxComboBase, AfterViewCh
13221322
protected manageRequiredAsterisk(): void {
13231323
if (this.ngControl) {
13241324
this.inputGroup.isRequired = this.required;
1325-
this.comboInput.nativeElement.setAttribute('aria-required', this.required.toString());
13261325
}
13271326
}
13281327

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<ng-content select="igx-hint, [igxHint]"></ng-content>
1010
</ng-container>
1111
<input igxInput #comboInput name="comboInput" type="text" [value]="displayValue" readonly
12+
[attr.required]="required"
1213
[attr.placeholder]="placeholder" [disabled]="disabled"
1314
role="combobox" aria-haspopup="listbox"
1415
[attr.aria-expanded]="!dropdown.collapsed" [attr.aria-controls]="dropdown.listId"

0 commit comments

Comments
 (0)