Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make extjs textarea non editable

How can I make a textarea field non editable in extjs 4? I see the API extjs textarea, but i dont see editable property. I need only to show text messages in the text area but I would also like it to autoscroll when there is more text in it, which textarea component can provide, but still I dont want it editable.

Or should I use different text component?

like image 482
Vlad Avatar asked Nov 05 '12 22:11

Vlad


1 Answers

I guess you are looking for the config readOnly:true

like image 177
Dr.Molle Avatar answered Oct 19 '22 12:10

Dr.Molle