X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6e39d509471fe9b4e2660e0d1631b350d0c66f40..0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6:/docs/source/TextArea.html diff --git a/docs/source/TextArea.html b/docs/source/TextArea.html index 547b7f29..dc179550 100644 --- a/docs/source/TextArea.html +++ b/docs/source/TextArea.html @@ -1,12 +1,18 @@ - - - - The source code - - - - -
/** + + + + The source code + + + + +
/*!
+ * Ext JS Library 3.3.1
+ * Copyright(c) 2006-2010 Sencha Inc.
+ * licensing@sencha.com
+ * http://www.sencha.com/license
+ */
+
/** * @class Ext.form.TextArea * @extends Ext.form.TextField * Multiline text field. Can be used as a direct replacement for traditional textarea fields, plus adds @@ -80,6 +86,13 @@ Ext.form.TextArea = Ext.extend(Ext.form.TextField, { doAutoSize : function(e){ return !e.isNavKeyPress() || e.getKey() == e.ENTER; }, + + // inherit docs + filterValidation: function(e) { + if(!e.isNavKeyPress() || (!this.enterIsSpecial && e.keyCode == e.ENTER)){ + this.validationTask.delay(this.validationDelay); + } + },
/** * Automatically grows the field to accomodate the height of the text up to the maximum field height allowed. @@ -112,6 +125,6 @@ Ext.form.TextArea = Ext.extend(Ext.form.TextField, { } } }); -Ext.reg('textarea', Ext.form.TextArea);
- +Ext.reg('textarea', Ext.form.TextArea);
+ \ No newline at end of file