<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Need to reset the dropdown values with Placeholder when users clicks on Clear button</title><link>https://community.appian.com/discussions/f/general/11827/need-to-reset-the-dropdown-values-with-placeholder-when-users-clicks-on-clear-button</link><description>Hi , 
 I have an interface where drop down values are fetching from web service call with two buttons Search and Clear button. 
 I want to clear the user selected value from drop down and load with the initial set of values (data from webservice call</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Need to reset the dropdown values with Placeholder when users clicks on Clear button</title><link>https://community.appian.com/thread/52288?ContentTypeID=1</link><pubDate>Tue, 06 Feb 2018 05:12:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e59d051b-0be8-4730-96e1-19bf76da4952</guid><dc:creator>Soujanya B</dc:creator><description>using 16.3 version of Appian currently.&lt;br /&gt;
Thanks! Its working fine.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need to reset the dropdown values with Placeholder when users clicks on Clear button</title><link>https://community.appian.com/thread/52275?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2018 16:19:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c031aa20-05ae-4ef7-ad83-2e1211fd526e</guid><dc:creator>Mike Schmitt</dc:creator><description>What version of Appian are you using?  I ask because you&amp;#39;re still using the &amp;quot;&amp;lt;&amp;lt;&amp;quot; operator in your saveIntos and this is not necessary anymore and much more confusing than a!saveInto(), assuming you&amp;#39;re using ANY of the more recent appian versions.&lt;br /&gt;
&lt;br /&gt;
Anyway, to clear the value of your dropdown field, which you&amp;#39;re saving into the variable local!AMUArray_txt, you just need to set that value to null in your button click.  I notice you&amp;#39;re setting a few other things to null there, but you&amp;#39;re not setting local!AMUArray_txt to null.&lt;br /&gt;
&lt;br /&gt;
All you need to add is:&lt;br /&gt;
a!save(&lt;br /&gt;
  local!AMUArray_txt,&lt;br /&gt;
  null()&lt;br /&gt;
)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>