<?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: Issue with controlled Calcite Switch in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-controlled-calcite-switch/m-p/1332270#M82314</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Did you try setting &lt;STRONG&gt;undefined&lt;/STRONG&gt; instead of &lt;STRONG&gt;false&lt;/STRONG&gt; when you want it to be unchecked?&lt;/P&gt;&lt;P&gt;This is mentioned in the gotchas part of the help. It should fix your problem I think.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/calcite-design-system/resources/frameworks/#gotchas" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/calcite-design-system/resources/frameworks/#gotchas&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Sep 2023 06:12:56 GMT</pubDate>
    <dc:creator>omar-marji</dc:creator>
    <dc:date>2023-09-26T06:12:56Z</dc:date>
    <item>
      <title>Issue with controlled Calcite Switch</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-controlled-calcite-switch/m-p/1332120#M82310</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;Issue:&lt;/DIV&gt;&lt;DIV&gt;I'm setting the Calcite Switch component's "checked" value as a controlled input, but the component's UI state does not reflect the value (images attached)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm using the following libraries/versions in my React application:&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;BR /&gt;"@arcgis/core"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"^4.27.6"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;"@esri/calcite-components-react": "^1.8.0"&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 19:13:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-controlled-calcite-switch/m-p/1332120#M82310</guid>
      <dc:creator>FabricioBezerra</dc:creator>
      <dc:date>2023-09-25T19:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with controlled Calcite Switch</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-controlled-calcite-switch/m-p/1332270#M82314</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Did you try setting &lt;STRONG&gt;undefined&lt;/STRONG&gt; instead of &lt;STRONG&gt;false&lt;/STRONG&gt; when you want it to be unchecked?&lt;/P&gt;&lt;P&gt;This is mentioned in the gotchas part of the help. It should fix your problem I think.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/calcite-design-system/resources/frameworks/#gotchas" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/calcite-design-system/resources/frameworks/#gotchas&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 06:12:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-controlled-calcite-switch/m-p/1332270#M82314</guid>
      <dc:creator>omar-marji</dc:creator>
      <dc:date>2023-09-26T06:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with controlled Calcite Switch</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-controlled-calcite-switch/m-p/1332943#M82334</link>
      <description>&lt;P&gt;Thank you so much&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/472008"&gt;@omar-marji&lt;/a&gt;! That fixed the issue &lt;span class="lia-unicode-emoji" title=":party_popper:"&gt;🎉&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 14:55:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-with-controlled-calcite-switch/m-p/1332943#M82334</guid>
      <dc:creator>FabricioBezerra</dc:creator>
      <dc:date>2023-09-27T14:55:34Z</dc:date>
    </item>
  </channel>
</rss>

