Skip to content

Implied case folding with Combobox search attribute #1366

@hsivonen

Description

@hsivonen

https://open-ui.org/components/combobox.explainer/#the-search-attribute says:

Typing “a” will display “Apple”, “Apricot”, and “Banana”. definition here.

However, "Apple".includes("a") evaluates to false.

If the intent of to have more complicated processing, such as case folding, the more complicated processing should be explicit.

If case folding is to be performed, the case folding should probably be aware of Turkish and Azerbaijani being special, and a definition of where the language information is taken from would be necessary.

It seems that JavaScript doesn't have a public toLocaleFoldCase operation, but browsers have it available internally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Comboboxagenda+Use this label if you'd like the topic to be added to the meeting agenda

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions