<?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: Clear from a multi-select option in Experience Builder Custom Widgets</title>
    <link>https://community.esri.com/t5/experience-builder-custom-widgets/clear-from-a-multi-select-option/m-p/1325368#M99</link>
    <description>&lt;P&gt;Did you ever figure this out? I'm in the exact same spot.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Sep 2023 12:59:04 GMT</pubDate>
    <dc:creator>chapmunnhsc</dc:creator>
    <dc:date>2023-09-05T12:59:04Z</dc:date>
    <item>
      <title>Clear from a multi-select option</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/clear-from-a-multi-select-option/m-p/1241385#M51</link>
      <description>&lt;P&gt;Hi All.&lt;/P&gt;&lt;P&gt;&amp;nbsp;I used the multi-select from Jimu library in a custom application. is there a way to clear the selection from the form?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="saraswathiemani2_0-1671057142751.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58606i8CD7A0EF18C0170A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="saraswathiemani2_0-1671057142751.png" alt="saraswathiemani2_0-1671057142751.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The custom tool is developed for selecting multiple options from drop down. User checks the check box to select the feature. And the search option (Search button) renders the selection on the map correctly. The clear button clears the selection from the map but not from the check box and the form where it displays the selection. Is there a way to clear the selection from the &lt;STRONG&gt;form&lt;/STRONG&gt; also.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="saraswathiemani2_1-1671057486917.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58607i3B2FDD220465201C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="saraswathiemani2_1-1671057486917.png" alt="saraswathiemani2_1-1671057486917.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to clear the options above programmatically.&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;getTRSMultiSelectOptions = (option: TRSOption) &lt;/SPAN&gt;&lt;SPAN&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;SPAN&gt; option.units.map((item) &lt;/SPAN&gt;&lt;SPAN&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt; ({&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; label: item,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; value: item,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; }));&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; };&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 22:44:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/clear-from-a-multi-select-option/m-p/1241385#M51</guid>
      <dc:creator>saraswathiemani2</dc:creator>
      <dc:date>2022-12-14T22:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Clear from a multi-select option</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/clear-from-a-multi-select-option/m-p/1325368#M99</link>
      <description>&lt;P&gt;Did you ever figure this out? I'm in the exact same spot.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 12:59:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/clear-from-a-multi-select-option/m-p/1325368#M99</guid>
      <dc:creator>chapmunnhsc</dc:creator>
      <dc:date>2023-09-05T12:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Clear from a multi-select option</title>
      <link>https://community.esri.com/t5/experience-builder-custom-widgets/clear-from-a-multi-select-option/m-p/1325371#M100</link>
      <description>&lt;P&gt;I was able to solve the issue by adding a clear button to the side, which when the user clicks clears all of the selections. I will try to check if I have the code to share it with you, but might take 2-3 days to access the code, as I don’t have access to my computer currently.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 13:07:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/experience-builder-custom-widgets/clear-from-a-multi-select-option/m-p/1325371#M100</guid>
      <dc:creator>saraswathiemani2</dc:creator>
      <dc:date>2023-09-05T13:07:11Z</dc:date>
    </item>
  </channel>
</rss>

