[Combobox] Make filter text value accessible in the code #7212
Labels
4 - verified
Issues that have been released and confirmed resolved.
ArcGIS Enterprise
Issues logged by ArcGIS Enterprise team members
c-combobox
Issues that pertain to the calcite-combobox and related components
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
Description
The document has defined an event
calciteComboboxFilterChange
that is fired when text is added to filter the options list, but looks like the filter text is not accessible in the code.The only way is through the
shadowRoot.querySelect
but it is not the best practiceconst text = this.comboboxElement.shadowRoot.querySelector<HTMLCalciteInputElement>("input").value;
https://github.com/Esri/calcite-components/tree/master/packages/calcite-components/src/components/combobox#events
cc @BlakeStearman
Acceptance Criteria
There is a prop for the filtered text in combobox
Relevant Info
No response
Which Component
calcite-combobox
Example Use Case
There's no way to return what the filter text currently is from a calcite-combobox? For example the gis in the screenshot.
Priority impact
p4 - not time sensitive
Esri team
ArcGIS Enterprise
The text was updated successfully, but these errors were encountered: