<?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: SegmentedControl help in Calcite Design System Questions</title>
    <link>https://community.esri.com/t5/calcite-design-system-questions/segmentedcontrol-help/m-p/1369303#M569</link>
    <description>&lt;P&gt;use this instead of setting checked to undefined&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; &amp;lt;CalciteSegmentedControlItem
            // always selects 25 and All when coming back to page
            // checked={rowsShown === rowsConstant ? true : undefined}
            {...(rowsShown === rowsConstant ? { checked: true } : {})}
            value={rowsConstant}
            key={i}
          &amp;gt;
            {rowsConstant}
 &amp;lt;/CalciteSegmentedControlItem&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jan 2024 23:43:32 GMT</pubDate>
    <dc:creator>Grant_DeCoux</dc:creator>
    <dc:date>2024-01-11T23:43:32Z</dc:date>
    <item>
      <title>SegmentedControl help</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/segmentedcontrol-help/m-p/1369239#M568</link>
      <description>&lt;P&gt;I'm not sure what I'm missing/doing wrong, or if something else is going on. I'm using the reactor-router-dom package in React for simple navigation, and when I navigate to and from the Home page for example, the current and last SegmentedControlItem are both selected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://codesandbox.io/p/sandbox/kind-rosalind-xvrpg2?file=%2Fsrc%2FApp.js%3A68%2C1" target="_blank" rel="noopener"&gt;CodeSanbox Link&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 22:03:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/segmentedcontrol-help/m-p/1369239#M568</guid>
      <dc:creator>AudreyWatson</dc:creator>
      <dc:date>2024-01-11T22:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: SegmentedControl help</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/segmentedcontrol-help/m-p/1369303#M569</link>
      <description>&lt;P&gt;use this instead of setting checked to undefined&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; &amp;lt;CalciteSegmentedControlItem
            // always selects 25 and All when coming back to page
            // checked={rowsShown === rowsConstant ? true : undefined}
            {...(rowsShown === rowsConstant ? { checked: true } : {})}
            value={rowsConstant}
            key={i}
          &amp;gt;
            {rowsConstant}
 &amp;lt;/CalciteSegmentedControlItem&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 23:43:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/segmentedcontrol-help/m-p/1369303#M569</guid>
      <dc:creator>Grant_DeCoux</dc:creator>
      <dc:date>2024-01-11T23:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: SegmentedControl help</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/segmentedcontrol-help/m-p/1369594#M570</link>
      <description>&lt;P&gt;Awesome. Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 15:37:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/segmentedcontrol-help/m-p/1369594#M570</guid>
      <dc:creator>AudreyWatson</dc:creator>
      <dc:date>2024-01-12T15:37:02Z</dc:date>
    </item>
  </channel>
</rss>

