<?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: calciteLookupChange event when combobox selectionMode is single in Calcite Design System Questions</title>
    <link>https://community.esri.com/t5/calcite-design-system-questions/calcitelookupchange-event-when-combobox/m-p/1077284#M27</link>
    <description>&lt;P&gt;Hey Rob!&amp;nbsp; I've used the 'calciteComboboxItemChange' event in a recent app and it seems to do what I needed.&amp;nbsp; Here's a codepen showing how I use it: &lt;A href="https://codepen.io/john-grayson/pen/zYwBVBZ" target="_blank"&gt;https://codepen.io/john-grayson/pen/zYwBVBZ&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jul 2021 15:34:22 GMT</pubDate>
    <dc:creator>JohnGrayson</dc:creator>
    <dc:date>2021-07-09T15:34:22Z</dc:date>
    <item>
      <title>calciteLookupChange event when combobox selectionMode is single</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/calcitelookupchange-event-when-combobox/m-p/1077037#M26</link>
      <description>&lt;P&gt;What am I missing here -&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I add a calcite-combobox to a calcite-modal&lt;/LI&gt;&lt;LI&gt;I addEventListener('calciteLookupChange', function(evt)....&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If the combobox selectionMode === single, the event doesn't fire&lt;/P&gt;&lt;P&gt;If the combobox selectionMode === multi or ancestors, the event does fire and I can get the selected item from evt.detail[0].&lt;/P&gt;&lt;P&gt;How do I get the selected item from the combobox when using single selection mode?&lt;/P&gt;&lt;P&gt;Referencing &lt;A href="https://github.com/Esri/calcite-components/tree/v1.0.0-beta.52/src/components/calcite-combobox" target="_blank" rel="noopener"&gt;https://github.com/Esri/calcite-components/tree/v1.0.0-beta.52/src/components/calcite-combobox&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 22:32:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/calcitelookupchange-event-when-combobox/m-p/1077037#M26</guid>
      <dc:creator>RobStauder</dc:creator>
      <dc:date>2021-07-08T22:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: calciteLookupChange event when combobox selectionMode is single</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/calcitelookupchange-event-when-combobox/m-p/1077284#M27</link>
      <description>&lt;P&gt;Hey Rob!&amp;nbsp; I've used the 'calciteComboboxItemChange' event in a recent app and it seems to do what I needed.&amp;nbsp; Here's a codepen showing how I use it: &lt;A href="https://codepen.io/john-grayson/pen/zYwBVBZ" target="_blank"&gt;https://codepen.io/john-grayson/pen/zYwBVBZ&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 15:34:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/calcitelookupchange-event-when-combobox/m-p/1077284#M27</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2021-07-09T15:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: calciteLookupChange event when combobox selectionMode is single</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/calcitelookupchange-event-when-combobox/m-p/1077413#M28</link>
      <description>&lt;P&gt;Thanks John. I appreciate the assist.&lt;/P&gt;&lt;P&gt;To sum - using the calciteComboboxItemChange event (instead of calciteLookupChange) and the newer version of calcite (beta 5.9 instead of 5.2) did it.&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 20:24:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/calcitelookupchange-event-when-combobox/m-p/1077413#M28</guid>
      <dc:creator>RobStauder</dc:creator>
      <dc:date>2021-07-09T20:24:06Z</dc:date>
    </item>
  </channel>
</rss>

