Combobox/Combobox-item - allow filtering by textLabel only #8043
Labels
4 - verified
Issues that have been released and confirmed resolved.
ArcGIS Online
Issues logged by ArcGIS Online team members.
calcite-components
Issues specific to the @esri/calcite-components package.
enhancement
Issues tied to a new feature or request.
estimate - 3
A day or two of work, likely requires updates to tests.
impact - p3 - not time sensitive
User set priority impact status of p3 - not time sensitive
p - medium
Issue is non core or affecting less that 60% of people using the library
Milestone
Check existing issues
Description
For
calcite-combobox-items
with significantly differentvalue
andtextLabel
properties, it would be helpful to only allow filtering bytextLabel
rather than the underlying value as well.This prevents confusing situations like this in which
value
is an English string andtextLabel
is a localized string in a different language:Applies to any use case where, for some reason (uniqueness, localization, etc.),
value
andtextLabel
are quite different.Acceptance Criteria
A new property on
calcite-combobox
would be helpful (something likefilterMode = "value" | "text-label"
, defaulting to both if not specified).Relevant Info
No response
Which Component
calcite-combobox
,calcite-combobox-item
Example Use Case
See above
Priority impact
p4 - not time sensitive
Calcite package
Esri team
ArcGIS Online
The text was updated successfully, but these errors were encountered: