Missing host attr.id in igx-select when using id with bracket-syntax #14579
Labels
🐛 bug
Any issue that describes a bug
dropdown
select
Select component
✅ status: resolved
Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Description
When setting the id with bracket syntax "[id]", the host element doesn't get the ID attribute.
Steps to reproduce
<igx-select [disabled]="disableControls" [formControl]="invalidFormControl" id="myId2"></igx-select>
<igx-select [disabled]="disableControls" [formControl]="invalidFormControl" [id]="'myId'"></igx-select>
Result
The id "myId" is not in set as an igx-select attribute
Expected result
The id "myId" should be an igx-select attribute, as it is for "myId2"
Attachments
The text was updated successfully, but these errors were encountered: