<?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 reset select dropdown reactjs in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reset-select-dropdown-reactjs/m-p/1237388#M79540</link>
    <description>&lt;P&gt;I use the select from the &lt;A href="https://developers.arcgis.com/experience-builder/storybook/?path=/story/components-jimu-ui-index-select--placeholder" target="_blank" rel="noopener"&gt;jimu-ui&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;Here is my question. I have a clear button to enable the user to reset all the controlled components on the ui to their original state. I am using the&amp;nbsp; placeholder for the select. How do I display the placeholder value when the clear button is pressed?&lt;/P&gt;&lt;P&gt;I can use the setState to return the Select to its original value, but not the placeholder text on the display.&lt;/P&gt;&lt;P&gt;Use of the ref won't help since it doesn't re-render.&lt;/P&gt;</description>
    <pubDate>Fri, 02 Dec 2022 20:43:04 GMT</pubDate>
    <dc:creator>LefterisKoumis</dc:creator>
    <dc:date>2022-12-02T20:43:04Z</dc:date>
    <item>
      <title>reset select dropdown reactjs</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reset-select-dropdown-reactjs/m-p/1237388#M79540</link>
      <description>&lt;P&gt;I use the select from the &lt;A href="https://developers.arcgis.com/experience-builder/storybook/?path=/story/components-jimu-ui-index-select--placeholder" target="_blank" rel="noopener"&gt;jimu-ui&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;Here is my question. I have a clear button to enable the user to reset all the controlled components on the ui to their original state. I am using the&amp;nbsp; placeholder for the select. How do I display the placeholder value when the clear button is pressed?&lt;/P&gt;&lt;P&gt;I can use the setState to return the Select to its original value, but not the placeholder text on the display.&lt;/P&gt;&lt;P&gt;Use of the ref won't help since it doesn't re-render.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 20:43:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reset-select-dropdown-reactjs/m-p/1237388#M79540</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2022-12-02T20:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: reset select dropdown reactjs</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reset-select-dropdown-reactjs/m-p/1237563#M79545</link>
      <description>&lt;P&gt;Not sure this helps with out visually seeing it, but I have call a function in side script, but outside the main code and call the function in the button via onclick=function(). You can create a placeholder using label in html.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Dec 2022 21:50:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reset-select-dropdown-reactjs/m-p/1237563#M79545</guid>
      <dc:creator>GeospatialEnterprise</dc:creator>
      <dc:date>2022-12-03T21:50:22Z</dc:date>
    </item>
  </channel>
</rss>

