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
Rather than just filtering for startsWith, this component should probably match <datalist>'s "contains" filtering behavior (type "fox" in the input field in the example).
The text was updated successfully, but these errors were encountered:
I noticed this missing too, although it has potential to bring with it a lot of complexity:
When the match is not as obvious (as the first letters) the usual strategy to clarify the match by emphasising (e.g. bolding) the matched value in the text of the displayed options.
Another additional complication contains may bring is the need to reorder the options, e.g. it may make sense to rank full word matches higher than partial.
It would be valuable in assessing these usability and feature questions to detail some specific use cases where custom-select is particularly useful.
Rather than just filtering for
startsWith
, this component should probably match<datalist>
's "contains" filtering behavior (type "fox" in the input field in the example).The text was updated successfully, but these errors were encountered: