<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>How To make aui input is read only?</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=28817869" />
  <subtitle>How To make aui input is read only?</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=28817869</id>
  <updated>2026-07-10T11:33:30Z</updated>
  <dc:date>2026-07-10T11:33:30Z</dc:date>
  <entry>
    <title>RE: How To make aui input is read only?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=45318255" />
    <author>
      <name>Ethan Bustad</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=45318255</id>
    <updated>2014-11-14T01:35:37Z</updated>
    <published>2014-11-14T01:35:37Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Manish Singh:&lt;/div&gt;&lt;blockquote&gt;&lt;br /&gt;readonly attribute may not work on aui&lt;br /&gt;use :&lt;br /&gt;&amp;lt;aui:input name=&amp;#34;name&amp;#34; &lt;strong&gt;disabled=&amp;#34;true&amp;#34;&lt;/strong&gt;/&amp;gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Keep in mind that &amp;#34;disabled&amp;#34; and &amp;#34;readonly&amp;#34; do two different things: both will prevent the user from editing the value in your input field, but &amp;#34;disabled&amp;#34; will also prevent the value from being passed as a request parameter on form submit, whereas &amp;#34;readonly&amp;#34; will allow the value to be submitted.&lt;br /&gt;&lt;br /&gt;The readonly attribute is currently only applied to the aui:input tag if the &amp;#34;type&amp;#34; attribute is specified: if not, the readonly attribute won&amp;#39;t show up in the markup.&lt;br /&gt;&lt;br /&gt;Also note that readonly=&amp;#34;false&amp;#34; still makes the input tag readonly - it&amp;#39;s a property setting rather than a true xml attribute. So beware of trying to make a field readonly programmatically, based on some boolean field. It probably won&amp;#39;t behave as expected.</summary>
    <dc:creator>Ethan Bustad</dc:creator>
    <dc:date>2014-11-14T01:35:37Z</dc:date>
  </entry>
  <entry>
    <title>RE: How To make aui input is read only?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=44966216" />
    <author>
      <name>Madhava Venganapalli</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=44966216</id>
    <updated>2014-11-06T15:02:56Z</updated>
    <published>2014-11-06T15:02:56Z</published>
    <summary type="html">give just aui input field as readonly=&amp;#34;true&amp;#34;.</summary>
    <dc:creator>Madhava Venganapalli</dc:creator>
    <dc:date>2014-11-06T15:02:56Z</dc:date>
  </entry>
  <entry>
    <title>RE: How To make aui input is read only?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=44903504" />
    <author>
      <name>Arun R S Chandran</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=44903504</id>
    <updated>2014-11-05T10:52:41Z</updated>
    <published>2014-11-05T10:52:41Z</published>
    <summary type="html">&lt;a href="https://www.liferay.com/community/forums/-/message_boards/message/44898666"&gt;&lt;/a&gt; this may help you as well.</summary>
    <dc:creator>Arun R S Chandran</dc:creator>
    <dc:date>2014-11-05T10:52:41Z</dc:date>
  </entry>
  <entry>
    <title>RE: How To make aui input is read only?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=44903489" />
    <author>
      <name>Manish Singh</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=44903489</id>
    <updated>2014-11-05T10:50:35Z</updated>
    <published>2014-11-05T10:50:35Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;angu manikandan:&lt;/div&gt;&lt;blockquote&gt;Hi,&lt;br /&gt;    How To make aui input is read only?&lt;br /&gt;&lt;br /&gt;  Thanks in Advance.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;readonly attribute may not work on aui&lt;br /&gt;use :&lt;br /&gt;&amp;lt;aui:input name=&amp;#34;name&amp;#34; &lt;strong&gt;disabled=&amp;#34;true&amp;#34;&lt;/strong&gt;/&amp;gt;&lt;br /&gt;&lt;br /&gt;-&lt;br /&gt;Regards&lt;br /&gt;Manish Singh</summary>
    <dc:creator>Manish Singh</dc:creator>
    <dc:date>2014-11-05T10:50:35Z</dc:date>
  </entry>
  <entry>
    <title>RE: How To make aui input is read only?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=28818211" />
    <author>
      <name>Atin Agarwal</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=28818211</id>
    <updated>2013-09-16T11:34:51Z</updated>
    <published>2013-09-16T11:34:51Z</published>
    <summary type="html">Use the attribute readonly and set this to true&lt;br /&gt;&lt;br /&gt;&amp;lt;aui:input type=&amp;#34;text&amp;#34; name=&amp;#34;name&amp;#34; readonly=&amp;#34;true&amp;#34; /&amp;gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Atin Agarwal</summary>
    <dc:creator>Atin Agarwal</dc:creator>
    <dc:date>2013-09-16T11:34:51Z</dc:date>
  </entry>
  <entry>
    <title>How To make aui input is read only?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=28817868" />
    <author>
      <name>angu manikandan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=28817868</id>
    <updated>2013-09-16T11:09:00Z</updated>
    <published>2013-09-16T11:09:00Z</published>
    <summary type="html">Hi,&lt;br /&gt;    How To make aui input is read only?&lt;br /&gt;&lt;br /&gt;  Thanks in Advance.</summary>
    <dc:creator>angu manikandan</dc:creator>
    <dc:date>2013-09-16T11:09:00Z</dc:date>
  </entry>
</feed>
