<?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: How to update calcite-stepper-content in Calcite Design System Questions</title>
    <link>https://community.esri.com/t5/calcite-design-system-questions/how-to-update-calcite-stepper-content/m-p/1184054#M151</link>
    <description>&lt;P&gt;Hi Ben. This is pretty much the same code I have in my app. It is working in the pen, but not in the app. See the screenshots. The calcite-stepper-content is not updating in my app like it does in the pen.&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/capegreg/pen/vYdMYwv?editors=1010" target="_blank"&gt;https://codepen.io/capegreg/pen/vYdMYwv?editors=1010&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GregoryBologna_1-1655498149618.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/43758i74EFE35F427108E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GregoryBologna_1-1655498149618.png" alt="GregoryBologna_1-1655498149618.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GregoryBologna_0-1655498126194.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/43757iB281CF082CBC2CDD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GregoryBologna_0-1655498126194.png" alt="GregoryBologna_0-1655498126194.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jun 2022 20:36:46 GMT</pubDate>
    <dc:creator>GregoryBologna</dc:creator>
    <dc:date>2022-06-17T20:36:46Z</dc:date>
    <item>
      <title>How to update calcite-stepper-content</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/how-to-update-calcite-stepper-content/m-p/1183945#M149</link>
      <description>&lt;P&gt;I am setting the content on demand, but the content in calcite-stepper-content appears to update and then immediately becomes empty.&lt;/P&gt;&lt;P&gt;&amp;lt;div class="calcite-stepper-content"&amp;gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;function goToBufferStep(event) {
	let stepper = document.getElementById('pao-stepper');
	if (stepper) {
		let target = event.currentTarget;
		let i = target.getAttribute('data-step');
		let content = document.querySelector('.calcite-stepper-content');
		if (content) {
			stepper.goToStep(i);
			stepper.nextStep()
				.then(
				updateCalciteStepperContent(`step-${i}`)
				);
		}
	}
}

updateCalciteStepperContent function ...

let content = document.querySelector('.calcite-stepper-content');
if (content)
  content.innerHTML = 'blah';&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 16:05:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/how-to-update-calcite-stepper-content/m-p/1183945#M149</guid>
      <dc:creator>GregoryBologna</dc:creator>
      <dc:date>2022-06-17T16:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to update calcite-stepper-content</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/how-to-update-calcite-stepper-content/m-p/1183952#M150</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/193359"&gt;@GregoryBologna&lt;/a&gt;, I am not able to reproduce this issue -&amp;nbsp;&lt;A href="https://codepen.io/benesri/pen/JjpVPzK?editors=1010" target="_blank"&gt;https://codepen.io/benesri/pen/JjpVPzK?editors=1010&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please provide a codepen that does reproduce the issue?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 16:30:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/how-to-update-calcite-stepper-content/m-p/1183952#M150</guid>
      <dc:creator>BenElan</dc:creator>
      <dc:date>2022-06-17T16:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to update calcite-stepper-content</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/how-to-update-calcite-stepper-content/m-p/1184054#M151</link>
      <description>&lt;P&gt;Hi Ben. This is pretty much the same code I have in my app. It is working in the pen, but not in the app. See the screenshots. The calcite-stepper-content is not updating in my app like it does in the pen.&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/capegreg/pen/vYdMYwv?editors=1010" target="_blank"&gt;https://codepen.io/capegreg/pen/vYdMYwv?editors=1010&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GregoryBologna_1-1655498149618.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/43758i74EFE35F427108E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GregoryBologna_1-1655498149618.png" alt="GregoryBologna_1-1655498149618.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GregoryBologna_0-1655498126194.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/43757iB281CF082CBC2CDD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GregoryBologna_0-1655498126194.png" alt="GregoryBologna_0-1655498126194.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 20:36:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/how-to-update-calcite-stepper-content/m-p/1184054#M151</guid>
      <dc:creator>GregoryBologna</dc:creator>
      <dc:date>2022-06-17T20:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to update calcite-stepper-content</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/how-to-update-calcite-stepper-content/m-p/1184752#M152</link>
      <description>&lt;P&gt;Hmm, there must be something else going on in the app that was not ported over to the codepen. If you're able to get the codepen to reproduce the issue, I'd be happy to take a look.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 17:05:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/how-to-update-calcite-stepper-content/m-p/1184752#M152</guid>
      <dc:creator>BenElan</dc:creator>
      <dc:date>2022-06-21T17:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to update calcite-stepper-content</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/how-to-update-calcite-stepper-content/m-p/1184935#M153</link>
      <description>&lt;P&gt;Great. I will let you know when it’s up. Meanwhile, I’ll accept your answer here.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 02:16:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/how-to-update-calcite-stepper-content/m-p/1184935#M153</guid>
      <dc:creator>GregoryBologna</dc:creator>
      <dc:date>2022-06-22T02:16:02Z</dc:date>
    </item>
  </channel>
</rss>

