<?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: Dropdown Groups - get a single selection in Calcite Design System Questions</title>
    <link>https://community.esri.com/t5/calcite-design-system-questions/dropdown-groups-get-a-single-selection/m-p/1318720#M472</link>
    <description>&lt;P&gt;Thank you. I will change my script to use combobox. Currently,&amp;nbsp; I don't see any advantages for using dropdown over combobox.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Aug 2023 15:27:47 GMT</pubDate>
    <dc:creator>LefterisKoumis</dc:creator>
    <dc:date>2023-08-15T15:27:47Z</dc:date>
    <item>
      <title>Dropdown Groups - get a single selection</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/dropdown-groups-get-a-single-selection/m-p/1317991#M464</link>
      <description>&lt;P&gt;I have a group of&amp;nbsp; dropdown. Only one item can be selected from all groups.However, I cannot display a single selection since clicking on a different group it will display the selection for that group.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LefterisKoumis_0-1691781046297.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/77944i4BE963AFD764CA7E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LefterisKoumis_0-1691781046297.png" alt="LefterisKoumis_0-1691781046297.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So, to remove it, I have to use selection-mode= none. However, by doing so, I cannot get the selected innerText.&lt;/P&gt;&lt;P&gt;Is there a way to allow the display of only one selection from all groups? if not, how can I get the selecteditem if I use selection-mode="none"?&lt;/P&gt;&lt;P&gt;I also experiment with using selection-mode="single" and place it at the calcite-dropdown to cover both groups. However, it seems that after selecting few times, it records the selection from one group only.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/lkoumis1/pen/bGQPLOb?editors=1111" target="_self"&gt;Codepen&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/574219"&gt;@KittyHurley&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 20:00:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/dropdown-groups-get-a-single-selection/m-p/1317991#M464</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2023-08-11T20:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown Groups - get a single selection</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/dropdown-groups-get-a-single-selection/m-p/1318428#M467</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/14521"&gt;@LefterisKoumis&lt;/a&gt;&amp;nbsp;Dropdown doesn't support selection across groups, but a similar workflow could be achieved with the Dropdown Item's &lt;A href="https://developers.arcgis.com/calcite-design-system/components/dropdown-item/#api-reference-properties-iconStart" target="_blank" rel="noopener"&gt;icon-start&lt;/A&gt; and/or &lt;A href="https://developers.arcgis.com/calcite-design-system/components/dropdown-item/#api-reference-properties-iconEnd" target="_blank" rel="noopener"&gt;icon-end&lt;/A&gt; attributes:&amp;nbsp;&lt;A href="https://codepen.io/geospatialem/pen/poQMKjY" target="_blank"&gt;https://codepen.io/geospatialem/pen/poQMKjY&lt;/A&gt;&amp;nbsp;using icons to group items.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, while not fulfilling the same design as Dropdown, for more complex workflows &lt;A href="https://developers.arcgis.com/calcite-design-system/components/combobox" target="_blank" rel="noopener"&gt;Combobox&lt;/A&gt; could be used with multiple groups and one selection: &lt;A href="https://codepen.io/geospatialem/pen/xxQvWjz" target="_blank"&gt;https://codepen.io/geospatialem/pen/xxQvWjz&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 18:27:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/dropdown-groups-get-a-single-selection/m-p/1318428#M467</guid>
      <dc:creator>KittyHurley</dc:creator>
      <dc:date>2023-08-14T18:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown Groups - get a single selection</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/dropdown-groups-get-a-single-selection/m-p/1318720#M472</link>
      <description>&lt;P&gt;Thank you. I will change my script to use combobox. Currently,&amp;nbsp; I don't see any advantages for using dropdown over combobox.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 15:27:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/dropdown-groups-get-a-single-selection/m-p/1318720#M472</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2023-08-15T15:27:47Z</dc:date>
    </item>
  </channel>
</rss>

