Open bsvensson opened 3 months ago
https://www.syncfusion.com/blogs/post/which-control-should-i-use-autocomplete-or-combobox
This article shows the difference between combobox and autocomplete.
Related for discussion: https://github.com/Esri/calcite-design-system/issues/8877
The aria-autocomplete
attribute can be associated with the following roles: combobox
, textbox
, or searchbox
.
+1 for ArcGIS Knowledge
@geospatialem can we repurpose this issue to "Add autocomplete component"?
We'll also need issues for:
cc @ashetland, @SkyeSeitz, @brittneytewks
Check existing issues
Description
We would like the combobox component to support async data, actions, a menu for switching sources and have the ability to show a suggestion/autocomplete list.
Blocked issues: #8877
Acceptance Criteria
filter
component https://github.com/Esri/calcite-design-system/issues/10187Relevant Info
Ask @driskull for details ;)
Which Component
calcite-combobox
Example Use Case
We are trying to move the Search widget to Calcite Components.
Priority impact
impact - p1 - need for current milestone
Calcite package
Esri team
ArcGIS Maps SDK for JavaScript
CalciteAutocomplete
calcite-input
calciteAutocompleteTextInput
event fires, populate the autocomplete list and open it if needed.inputText
value or not.Proposed HTML
Properties
All of the properties from
calcite-input
plus these additional properties:Events
Methods
Slots
calcite-autocomplete-item
elements.calcite-autocomplete-item
elements.calcite-autocomplete-item
elements.CalciteAutocompleteItem
Properties
Events
None
Methods
Slots
CalciteAutocompleteItemGroup
Properties
Events
None
Methods
Slots
Figma Spec
In progress design spec for Autocomplete, Autocomplete Item, and Autocomplete Item Group. Will update as needed during development.