<?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: Calcite Radio Button events in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-radio-button-events/m-p/1701629#M88418</link>
    <description>&lt;P&gt;Mel let me know the solution!&amp;nbsp; Instead of using event.target.value, use event.target.selectedItem.value.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 May 2026 20:01:08 GMT</pubDate>
    <dc:creator>MichelleStuart</dc:creator>
    <dc:date>2026-05-12T20:01:08Z</dc:date>
    <item>
      <title>Calcite Radio Button events</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-radio-button-events/m-p/1701586#M88415</link>
      <description>&lt;P&gt;I feel like I must be missing something staring me right in the face, but when I copy the code from the calcite website for the radio button group into react, add an oncalciteRadioButtonGroupChange event listener, and console log the event.target.value, I get undefined.&amp;nbsp; If I log the event, I cannot see any hint of which radio button was clicked to trigger the event.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; const handleSelection = (evt) =&amp;gt; {
        console.log('group change', evt.target.value)
    }

    return (
                &amp;lt;calcite-radio-button-group oncalciteRadioButtonGroupChange={handleSelection} name="impairment" layout="vertical"&amp;gt;
                    &amp;lt;calcite-label layout="inline"&amp;gt;
                        &amp;lt;calcite-radio-button checked={selectedImpairment === 'phosphorus'} value="phosphorus"&amp;gt;&amp;lt;/calcite-radio-button&amp;gt;
                        Phosphorus
                    &amp;lt;/calcite-label&amp;gt;
                    &amp;lt;calcite-label layout="inline"&amp;gt;
                        &amp;lt;calcite-radio-button checked={selectedImpairment === 'fecal-indicator-bacteria'} value="fecal-indicator-bacteria"&amp;gt;&amp;lt;/calcite-radio-button&amp;gt;
                        Fecal indicator bacteria
                    &amp;lt;/calcite-label&amp;gt;
                    &amp;lt;calcite-label layout="inline"&amp;gt;
                        &amp;lt;calcite-radio-button checked={selectedImpairment === 'biological-integrity'} value="biological-integrity"&amp;gt;&amp;lt;/calcite-radio-button&amp;gt;
                        Biological integrity
                    &amp;lt;/calcite-label&amp;gt;
                &amp;lt;/calcite-radio-button-group&amp;gt;
            &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2026 17:41:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-radio-button-events/m-p/1701586#M88415</guid>
      <dc:creator>MichelleStuart</dc:creator>
      <dc:date>2026-05-12T17:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calcite Radio Button events</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-radio-button-events/m-p/1701629#M88418</link>
      <description>&lt;P&gt;Mel let me know the solution!&amp;nbsp; Instead of using event.target.value, use event.target.selectedItem.value.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2026 20:01:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-radio-button-events/m-p/1701629#M88418</guid>
      <dc:creator>MichelleStuart</dc:creator>
      <dc:date>2026-05-12T20:01:08Z</dc:date>
    </item>
  </channel>
</rss>

