Do not set the height property of ⦠When present, it specifies that a text area should be read-only. The readOnly property sets or returns whether the contents of a text area should be read-only. It would be a nice solution, but unfortunately readonly HTML attribute does not disable the input, and a continues allowing clicks and Enter key (and Space key when the input is focused).. to it, highlight it and copy content from it. Which Delphi string function would you to see if an ‘@’ sign appeared in an e-mail address? Hi, I have the following in my MVC2 project: thx. If tried to select all text and delete everything, readonly tags will remain. Inside the web pages we develop we employ the form elements to receive several details coming from the visitors and send it back to the site owner fulfilling various purposes. It may be used in a variety of components like forms, comment sections and forums. Form control which supports multiple lines of text. textareaObject.readOnly HTML5 introduced a few new attributes which can be used with textarea elements. Text. Recently, Bootstrap has launched 5.0. The disabled attribute will completely disable the input controls and it wonât allow making any modifications to the content. All textual and