<?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>How do you remove the White Space on a DropdownField Component</title><link>https://community.appian.com/discussions/f/general/26310/how-do-you-remove-the-white-space-on-a-dropdownfield-component</link><description>How do you remove the White Space on a DropdownField Component</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How do you remove the White Space on a DropdownField Component</title><link>https://community.appian.com/thread/103274?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2022 20:44:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2d093993-ba4c-4c0a-9c70-97dd83174994</guid><dc:creator>nicholaso0002</dc:creator><description>&lt;p&gt;This also worked.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do you remove the White Space on a DropdownField Component</title><link>https://community.appian.com/thread/103273?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2022 20:42:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:95273e0f-4538-4396-b865-dea9bec84eaf</guid><dc:creator>nicholaso0002</dc:creator><description>&lt;p&gt;Thanks this worked for me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do you remove the White Space on a DropdownField Component</title><link>https://community.appian.com/thread/103271?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2022 20:05:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:26104437-20f6-4d06-9af9-4a1c3c1e568c</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;The only other option is to allow a placeholder initially, but null it out if the user makes a selection (blocking them from de-selecting it essentially), thus&amp;nbsp;you could not utilize this for optional fields.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="csharp"&gt;a!localVariables(
  local!options: {&amp;quot;a&amp;quot;,&amp;quot;b&amp;quot;,&amp;quot;c&amp;quot;},
  local!selected,
  
  a!dropdownField(
    label: &amp;quot;Dropdown&amp;quot;,
    placeholder: if(rule!APN_isBlank(local!selected),&amp;quot;-- Select --&amp;quot;,null),
    choiceLabels: local!options,
    choiceValues: local!options,
    value: local!selected,
    saveInto: local!selected
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do you remove the White Space on a DropdownField Component</title><link>https://community.appian.com/thread/103270?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2022 20:03:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ef6bf12b-0245-423f-bf7a-825d43f3fd12</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;As long as you have a Placeholder, that will appear there.&amp;nbsp; You could always remove the placeholder, but that would mean the dropdown would &lt;em&gt;&lt;strong&gt;always&lt;/strong&gt;&lt;/em&gt; have to have a value, and would display an error if its value is null.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>