<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Get Combobox Filter Value in Calcite Design System Questions</title>
    <link>https://community.esri.com/t5/calcite-design-system-questions/get-combobox-filter-value/m-p/1303440#M433</link>
    <description>&lt;P&gt;Thank&amp;nbsp;you,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/574219"&gt;@KittyHurley&lt;/a&gt;&amp;nbsp; I did look at that example and did pull some of my code from there, I think.&amp;nbsp; The reason I wanted to use a combobox is because I'm thinking that just a list of addresses would be more compact than using cards, especially on a phone. It's going to be embedded in an iFrame of another page so space was already an issue.&lt;BR /&gt;&lt;BR /&gt;This is the prototype that I'm working on:&amp;nbsp;&lt;A href="https://gis.co.carver.mn.us/embedded_apps/carverlink/carverlink1.html" target="_blank"&gt;Broadband Efforts - Carver County - CarverLink.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope things are going well for you&amp;nbsp;@esri, I'm sure MnIT/DNR misses you! What the WHAF?! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jun 2023 16:07:35 GMT</pubDate>
    <dc:creator>MatthewRantala1</dc:creator>
    <dc:date>2023-06-27T16:07:35Z</dc:date>
    <item>
      <title>Get Combobox Filter Value</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/get-combobox-filter-value/m-p/1303209#M431</link>
      <description>&lt;P&gt;Hi, I am trying to create a combobox that has an autocomplete function.&lt;/P&gt;&lt;P&gt;As the user types an address, I want to update the combobox items to show the first 25 matches. I have it working except for the fact that I can not just grab what the user has typed into the combobox--I've got a mess of keydown/keyup events that I'm trying to guess what they've typed but it's flaky and it would be so much easier if I could just do something like:&amp;nbsp;document.getElementById("userTyopedAddress").filterValue.&lt;/P&gt;&lt;P&gt;Am I missing something obvious? I did see this closed feature request on github that looks like what I'm looking for:&amp;nbsp;&lt;A href="https://github.com/Esri/calcite-components/issues/6866" target="_blank"&gt;View ComboBox Filter Value · Issue #6866 · Esri/calcite-components · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks for any suggestions!&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 23:00:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/get-combobox-filter-value/m-p/1303209#M431</guid>
      <dc:creator>MatthewRantala1</dc:creator>
      <dc:date>2023-06-26T23:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Get Combobox Filter Value</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/get-combobox-filter-value/m-p/1303436#M432</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/194869"&gt;@MatthewRantala1&lt;/a&gt;&amp;nbsp;would the &lt;A href="https://developers.arcgis.com/calcite-design-system/components/filter/" target="_self"&gt;Filter &lt;/A&gt;component fit the use case?&lt;/P&gt;&lt;P&gt;There is a &lt;A href="https://developers.arcgis.com/calcite-design-system/tutorials/filter-recent-earthquakes/" target="_self"&gt;Filter recent earthquakes&lt;/A&gt; tutorial available, which showcases some of the component's functionality, including gathering the "filteredItems" from the value.&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/geospatialem/pen/yLQgxbL" target="_blank" rel="noopener"&gt;Here's a small sample in Codepen&lt;/A&gt; of an implementation with Calcite's Filter component.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 15:58:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/get-combobox-filter-value/m-p/1303436#M432</guid>
      <dc:creator>KittyHurley</dc:creator>
      <dc:date>2023-06-27T15:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Get Combobox Filter Value</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/get-combobox-filter-value/m-p/1303440#M433</link>
      <description>&lt;P&gt;Thank&amp;nbsp;you,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/574219"&gt;@KittyHurley&lt;/a&gt;&amp;nbsp; I did look at that example and did pull some of my code from there, I think.&amp;nbsp; The reason I wanted to use a combobox is because I'm thinking that just a list of addresses would be more compact than using cards, especially on a phone. It's going to be embedded in an iFrame of another page so space was already an issue.&lt;BR /&gt;&lt;BR /&gt;This is the prototype that I'm working on:&amp;nbsp;&lt;A href="https://gis.co.carver.mn.us/embedded_apps/carverlink/carverlink1.html" target="_blank"&gt;Broadband Efforts - Carver County - CarverLink.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope things are going well for you&amp;nbsp;@esri, I'm sure MnIT/DNR misses you! What the WHAF?! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 16:07:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/get-combobox-filter-value/m-p/1303440#M433</guid>
      <dc:creator>MatthewRantala1</dc:creator>
      <dc:date>2023-06-27T16:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Get Combobox Filter Value</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/get-combobox-filter-value/m-p/1303656#M434</link>
      <description>&lt;P&gt;Ah, got it. Appreciate the additional context and prototype sample. Can understand the difficulty without the context of a filter value.&lt;/P&gt;&lt;P&gt;Calcite recently received an enhancement request last week with the same request:&amp;nbsp;&lt;A href="https://github.com/Esri/calcite-components/issues/7212" target="_blank"&gt;https://github.com/Esri/calcite-components/issues/7212&lt;/A&gt;. There isn't a targeted timeline for implementation just yet, but progress can be tracked via GitHub.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the interim, there is a JS Maps SDK widget, &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-search-customsource/" target="_blank" rel="noopener"&gt;search&lt;/A&gt;, perhaps a workaround in the meantime?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 22:21:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/get-combobox-filter-value/m-p/1303656#M434</guid>
      <dc:creator>KittyHurley</dc:creator>
      <dc:date>2023-06-27T22:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Get Combobox Filter Value</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/get-combobox-filter-value/m-p/1310179#M448</link>
      <description>&lt;P&gt;What I ended up doing is pulling the value from the shadowRoot. Had tried to do that before posting but didn't get it to work (first attempt at accessing shadowRoot) but the issue link you posted had enough of the syntax stubbed out that I was able to figure out syntax that worked for me:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const addressCombobox = document.getElementById('address-select');
addressCombobox.shadowRoot.querySelectorAll(".input")[0].value;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 18:44:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/get-combobox-filter-value/m-p/1310179#M448</guid>
      <dc:creator>MatthewRantala1</dc:creator>
      <dc:date>2023-07-20T18:44:00Z</dc:date>
    </item>
  </channel>
</rss>

