/** * @class Ext.form.TextArea * @extends Ext.form.Text *

Wraps a textarea. See {@link Ext.form.FormPanel FormPanel} for example usage.

* @xtype textareafield */ Ext.form.TextArea = Ext.extend(Ext.form.Text, { ui: 'textarea',
/** * @cfg {Integer} maxRows The maximum number of lines made visible by the input. */ maxRows: undefined, autoCapitalize: false, renderTpl: [ '
{label}
', '
', '', '
', '
' ], // @private onRender: function() { this.renderData.maxRows = this.maxRows; Ext.form.TextArea.superclass.onRender.apply(this, arguments); }, onKeyUp: function(e) { this.fireEvent('keyup', this, e); } }); Ext.reg('textareafield', Ext.form.TextArea); // //DEPRECATED - remove this in 1.0. See RC1 Release Notes for details Ext.reg('textarea', Ext.form.TextArea); //