You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by Dremora August 7, 2023
In a Select example, once the select is open, one can type a letter to focus an item that starts with that letter.
Ideally, we would allow users to customize the behavior with a callback or something. I'm just not sure about the API. Do you have any idea?
I was considering the following API, but I'm still uncertain about its name.
/** * The function that normalizes the text of an item. This is useful when the * text of an item is not the same as the text that should be matched. * * For example, if the text of an item includes an emoji, you may want to * normalize the text to remove the emoji. */
typeaheadNormalizeText?: (text: string)=>string;
Discussed in #2698
Originally posted by Dremora August 7, 2023
In a Select example, once the select is open, one can type a letter to focus an item that starts with that letter.
I have a slightly modified version of this component that displays emojis in front of text. Typing to focus doesn't work anymore.
Is there any documentation on how this feature is implemented, and how to make it work with custom content?
The text was updated successfully, but these errors were encountered: