You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
331 KiB

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /*
  2. This file is part of Ext JS 3.4
  3. Copyright (c) 2011-2013 Sencha Inc
  4. Contact: http://www.sencha.com/contact
  5. GNU General Public License Usage
  6. This file may be used under the terms of the GNU General Public License version 3.0 as
  7. published by the Free Software Foundation and appearing in the file LICENSE included in the
  8. packaging of this file.
  9. Please review the following information to ensure the GNU General Public License version 3.0
  10. requirements will be met: http://www.gnu.org/copyleft/gpl.html.
  11. If you are unsure which license is appropriate for your use, please contact the sales department
  12. at http://www.sencha.com/contact.
  13. Build date: 2013-04-03 15:07:25
  14. */
  15. Ext.data.JsonP.Ext_form_TextField({"alternateClassNames":[],"aliases":{"widget":["textfield"]},"enum":null,"parentMixins":[],"tagname":"class","subclasses":["Ext.form.NumberField","Ext.form.TextArea","Ext.form.TriggerField"],"extends":"Ext.form.Field","uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'><a href='#!/api/Ext.util.Observable' rel='Ext.util.Observable' class='docClass'>Ext.util.Observable</a><div class='subclass '><a href='#!/api/Ext.Component' rel='Ext.Component' class='docClass'>Ext.Component</a><div class='subclass '><a href='#!/api/Ext.BoxComponent' rel='Ext.BoxComponent' class='docClass'>Ext.BoxComponent</a><div class='subclass '><a href='#!/api/Ext.form.Field' rel='Ext.form.Field' class='docClass'>Ext.form.Field</a><div class='subclass '><strong>Ext.form.TextField</strong></div></div></div></div></div><h4>Subclasses</h4><div class='dependency'><a href='#!/api/Ext.form.NumberField' rel='Ext.form.NumberField' class='docClass'>Ext.form.NumberField</a></div><div class='dependency'><a href='#!/api/Ext.form.TextArea' rel='Ext.form.TextArea' class='docClass'>Ext.form.TextArea</a></div><div class='dependency'><a href='#!/api/Ext.form.TriggerField' rel='Ext.form.TriggerField' class='docClass'>Ext.form.TriggerField</a></div><h4>Files</h4><div class='dependency'><a href='source/TextField.html#Ext-form-TextField' target='_blank'>TextField.js</a></div></pre><div class='doc-contents'><p>Basic text field. Can be used as a direct replacement for traditional text inputs,\nor as the base class for more sophisticated input controls (like <a href=\"#!/api/Ext.form.TextArea\" rel=\"Ext.form.TextArea\" class=\"docClass\">Ext.form.TextArea</a>\nand <a href=\"#!/api/Ext.form.ComboBox\" rel=\"Ext.form.ComboBox\" class=\"docClass\">Ext.form.ComboBox</a>).</p>\n\n\n<p><b><u>Validation</u></b></p>\n\n\n<p>The validation procedure is described in the documentation for <a href=\"#!/api/Ext.form.TextField-method-validateValue\" rel=\"Ext.form.TextField-method-validateValue\" class=\"docClass\">validateValue</a>.</p>\n\n\n<p><b><u>Alter Validation Behavior</u></b></p>\n\n\n<p>Validation behavior for each field can be configured:</p>\n\n\n<div class=\"mdetail-params\"><ul>\n<li><code><a href=\"#!/api/Ext.form.TextField-cfg-invalidText\" rel=\"Ext.form.TextField-cfg-invalidText\" class=\"docClass\">invalidText</a></code> : the default validation message to\nshow if any validation step above does not provide a message when invalid</li>\n<li><code><a href=\"#!/api/Ext.form.TextField-cfg-maskRe\" rel=\"Ext.form.TextField-cfg-maskRe\" class=\"docClass\">maskRe</a></code> : filter out keystrokes before any validation occurs</li>\n<li><code><a href=\"#!/api/Ext.form.TextField-cfg-stripCharsRe\" rel=\"Ext.form.TextField-cfg-stripCharsRe\" class=\"docClass\">stripCharsRe</a></code> : filter characters after being typed in,\nbut before being validated</li>\n<li><code><a href=\"#!/api/Ext.form.Field-cfg-invalidClass\" rel=\"Ext.form.Field-cfg-invalidClass\" class=\"docClass\">invalidClass</a></code> : alternate style when invalid</li>\n<li><code><a href=\"#!/api/Ext.form.Field-cfg-validateOnBlur\" rel=\"Ext.form.Field-cfg-validateOnBlur\" class=\"docClass\">validateOnBlur</a></code>,\n<code><a href=\"#!/api/Ext.form.Field-cfg-validationDelay\" rel=\"Ext.form.Field-cfg-validationDelay\" class=\"docClass\">validationDelay</a></code>, and\n<code><a href=\"#!/api/Ext.form.Field-cfg-validationEvent\" rel=\"Ext.form.Field-cfg-validationEvent\" class=\"docClass\">validationEvent</a></code> : modify how/when validation is triggered</li>\n</ul></div>\n\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-allowBlank' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.form.TextField'>Ext.form.TextField</span><br/><a href='source/TextField.html#Ext-form-TextFi