<?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 can I make a drop down field read only?</title><link>https://community.appian.com/discussions/f/user-interface/23830/how-can-i-make-a-drop-down-field-read-only</link><description>Hello all, 
 depending on the user choices, they can either be able to change a value or to just read only the values in an Interface. 
 For the text field is easy I just apply the readOnly parameter : 
 How can I make a dropdown field read only ?. 
</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How can I make a drop down field read only?</title><link>https://community.appian.com/thread/91621?ContentTypeID=1</link><pubDate>Sun, 27 Feb 2022 11:57:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3cac38a7-8cdb-4a3b-b56c-b77839613f5e</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;While working with showing values of a dropdown in a readOnly field (eg. richTextDisplayField() or textField()), do remember to use the displayValue() function to not show the selected value (which in the general case is not a user-friendly value) rather show the selected label.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I make a drop down field read only?</title><link>https://community.appian.com/thread/91612?ContentTypeID=1</link><pubDate>Sat, 26 Feb 2022 19:31:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3fd8161b-a732-456b-90b0-357575a117b3</guid><dc:creator>R.Nolan</dc:creator><description>&lt;p&gt;To dive deeper into this, a disabled dropdown (revealing some previously selected choice, for example) is awkward.&amp;nbsp; Using a conditional display of a read-only text field is the simplest solution to more elegant UI experience.&lt;br /&gt;&lt;br /&gt;However,&amp;nbsp; even richer options exist when you abandon input components for read-only purposes.&amp;nbsp; You can conditionally use rich text fields and icons to display that information in a way that draws more attention to it.&lt;br /&gt;&lt;br /&gt;We have found two common use cases in a lot of our work.&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;One is where have a read-only interface that is separate from the input forms, used to display information to people who have a passive interest in the information.&amp;nbsp; In this case. we may craft an entire UI experience that is different from the data entry.&lt;/p&gt;
&lt;p&gt;Second where there are different business users who need to input information where the user&amp;#39;s group membership or other criteria is used to determine whether a given field is read-only or available for edit.&amp;nbsp; In this case, we still have an opportunity to give them the richest possible experience using the construct that Mark has proposed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I make a drop down field read only?</title><link>https://community.appian.com/thread/91606?ContentTypeID=1</link><pubDate>Fri, 25 Feb 2022 21:22:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:357a5d8a-6df5-4619-9b7b-e0ce0ce33288</guid><dc:creator>Mark Crowley</dc:creator><description>&lt;p&gt;You can&amp;#39;t make it inherently readOnly, but it can be disabled and not selected.&amp;nbsp; A more common pattern would be if(condition, readOnlyTextField, dropdownField)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>