Skip to content

Unexpected Auto-capitalization behavior with Combo box #12997

Answered by RivaIvanova
SkylerLutz asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @SkylerLutz

I have been looking into your question and what I could say is that this behavior is by design and expected, however, the IgxCombo provides the igxComboHeaderItem directive that is used to template the header items for groups in the combo list.

For example, the following code will set a custom template where the header items are displayed in lowercase.

<igx-combo>
    <ng-template igxComboHeaderItem let-item let-key="groupKey">
        <div class="header-item-class">{{ item[key] }}</div>
    </ng-template>
</igx-combo>
.header-item-class {
  text-transform: lowercase;
}

Here could be found a small sample demonstrating this approach.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zdrawku
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #12995 on May 11, 2023 07:23.