<?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>Problem with Dropdown component</title><link>https://community.appian.com/discussions/f/user-interface/39110/problem-with-dropdown-component</link><description>Hello people! 
 I have a problem with the dropdown component. My component is initially initialized with the value of a null variable, but when I change it to a valid value according to the range, it works normally, but when I click on the selection option</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Problem with Dropdown component</title><link>https://community.appian.com/thread/148137?ContentTypeID=1</link><pubDate>Thu, 15 May 2025 11:45:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4abc643e-5e6b-4bb2-83b8-4fa8ade20440</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Glad you found it!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with Dropdown component</title><link>https://community.appian.com/thread/148135?ContentTypeID=1</link><pubDate>Thu, 15 May 2025 11:44:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0c386d4c-1caf-4509-a3fd-effe9ed8f92f</guid><dc:creator>tiagosantos</dc:creator><description>&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with Dropdown component</title><link>https://community.appian.com/thread/148134?ContentTypeID=1</link><pubDate>Thu, 15 May 2025 11:44:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:460aa368-bf0e-4fa6-afb8-60437e899bf0</guid><dc:creator>tiagosantos</dc:creator><description>&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with Dropdown component</title><link>https://community.appian.com/thread/148133?ContentTypeID=1</link><pubDate>Thu, 15 May 2025 11:40:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ca9a235d-7f35-46ce-8d26-cd6076d07a64</guid><dc:creator>tiagosantos</dc:creator><description>&lt;p&gt;Thank you!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with Dropdown component</title><link>https://community.appian.com/thread/148132?ContentTypeID=1</link><pubDate>Thu, 15 May 2025 11:40:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d9d3ec32-38ab-433c-ad98-7214daa795dd</guid><dc:creator>tiagosantos</dc:creator><description>&lt;p&gt;I figured out what happened. I was passing in the value and in the saveinto a relationship of a record type, but for some reason when the variable was changed it was giving an error. What I did was create a new component that received only the record I needed to use, in this case, only the record of the relationship. This way it worked.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Exemple:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Old component&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;saveInto: RecordTypeA.relationship.recordTypeB.estado&lt;/p&gt;
&lt;p&gt;&lt;span&gt;value: RecordTypeA.relationship.recordTypeB.&lt;/span&gt;&lt;span&gt;estado&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;New component (&amp;nbsp;This way it worked)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;saveInto: &lt;span&gt;recordTypeB.&lt;/span&gt;estado&lt;/p&gt;
&lt;p&gt;&lt;span&gt;value: recordTypeB.&lt;/span&gt;&lt;span&gt;estado&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with Dropdown component</title><link>https://community.appian.com/thread/148119?ContentTypeID=1</link><pubDate>Thu, 15 May 2025 06:54:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:454d92e2-1f3c-434d-bf8d-28f6fd860440</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;Check the variable which is storing the value for this dropdown after this operation. Looks like its storing blank value (&amp;quot;&amp;quot;). May be the issue lies within the saveinto configuration you have done for the code. can you share the dropdown code if possible.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with Dropdown component</title><link>https://community.appian.com/thread/148114?ContentTypeID=1</link><pubDate>Thu, 15 May 2025 06:37:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0adbae24-1c00-42a2-8f17-7cfbe9b94414</guid><dc:creator>Vyshnavi Naripeddi</dc:creator><description>&lt;p&gt;&lt;span&gt;Please check the variable you are using to initialize the dropdown component has a valid value that is present in the choiceValues array. If the variable can be null, you may need to handle this case separately, such as by setting a default value or displaying a placeholder option.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with Dropdown component</title><link>https://community.appian.com/thread/148112?ContentTypeID=1</link><pubDate>Thu, 15 May 2025 05:39:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:39bc7138-0851-4d27-acbb-51223d5e2f17</guid><dc:creator>varung120549</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/tiagob6908"&gt;tiagosantos&lt;/a&gt;&amp;nbsp;,&lt;br /&gt;&lt;br /&gt;The error here describing that the value you are selecting must be from choice values, this occurs when the initial value for the displayValue is not null.&lt;br /&gt;&lt;br /&gt;You can try with 2 methods:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;1. Use Property Function :&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;property(Your_Variable,null())&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;2. Use a!isNotNullOrEmpty&amp;nbsp;(Preferred) :&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;if(a!isNotNullOrEmpty(Your_Variable),Your_Variable,null())&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Hope this helps you!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with Dropdown component</title><link>https://community.appian.com/thread/148111?ContentTypeID=1</link><pubDate>Wed, 14 May 2025 22:22:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0a4754f3-f369-465c-a729-753d4efcade2</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;This error occurs when the value you selected is not part of the list. The value must be null, an empty string could trigger this error.&lt;/p&gt;
&lt;p&gt;Any code could be helpful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>