Open jattasNI opened 1 month ago
My understanding of our intended direction is to align the filter-mode / autocomplete modes with the select. We shouldn't have an autocomplete mode both
anymore, effectively just list
with improved filtering that aligns with select.
Is there a specific use-case for autocomplete mode both
or mode inline
? Can we pre-emptively mark it deprecated and say only list
should be used?
Agreement from the team that we can deprecate both
. To fix this we should
both
.1 is low priority backlog work, 2 is worth doing sooner
I started working on item 1 in #2376 and item 2 in this SLE PR. But I ran into a bug with the remaining autocomplete mode "list": #2378. Temporarily marking this blocked because I don't think we want to tell clients to migrate to "list" with that known bug still open.
π Bug Report
When the combobox is set to
autocomplete="both"
, it is changing its value to equal the item that autocompletes. This causes other items that should match the entered text to be filtered out.π» Repro or Code Sample
autocomplete
toboth
and choose "Many options"https://github.com/user-attachments/assets/9556d96e-ffd3-4f48-a41f-3e29d1a6ff1e
π€ Expected Behavior
All of the "Sue..." items should be visible
π― Current Behavior
Only the first matching item, "Sue (1)", is visible.
π Possible Solution
@atmgrifter00 says
π¦ Context
This was originally reported as an SLE bug: Bug 2670859: Nimble combo box | Drop down does not filter the matched text correctly
That will likely be fixed by migrating to a filterable select. Another possible workaround is to use
autocomplete="list"
.π Your Environment
Not environment-dependent