This repository has been archived by the owner on Mar 19, 2020. It is now read-only.
/
Ext_form_field_Text.configs-c.html
344 lines (320 loc) · 36.4 KB
/
Ext_form_field_Text.configs-c.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="css/style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="Ext_form_field_Text.t-c.html">
<link rel="next" href="Ext_form_field_Text.events-c.html">
<link rel="Up" href="Ext_form_field_Text.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of class types" rel=Appendix href="index_class_types.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Ext" rel="Chapter" href="Ext.html">
<link title="Ext_AbstractComponent" rel="Chapter" href="Ext_AbstractComponent.html">
<link title="Ext_AbstractPlugin" rel="Chapter" href="Ext_AbstractPlugin.html">
<link title="Ext_app_Application" rel="Chapter" href="Ext_app_Application.html">
<link title="Ext_app_Controller" rel="Chapter" href="Ext_app_Controller.html">
<link title="Ext_Base" rel="Chapter" href="Ext_Base.html">
<link title="Ext_button_Button" rel="Chapter" href="Ext_button_Button.html">
<link title="Ext_Class" rel="Chapter" href="Ext_Class.html">
<link title="Ext_Component" rel="Chapter" href="Ext_Component.html">
<link title="Ext_ComponentLoader" rel="Chapter" href="Ext_ComponentLoader.html">
<link title="Ext_chart_Callout" rel="Chapter" href="Ext_chart_Callout.html">
<link title="Ext_chart_Chart" rel="Chapter" href="Ext_chart_Chart.html">
<link title="Ext_chart_Label" rel="Chapter" href="Ext_chart_Label.html">
<link title="Ext_chart_Highlight" rel="Chapter" href="Ext_chart_Highlight.html">
<link title="Ext_chart_Mask" rel="Chapter" href="Ext_chart_Mask.html">
<link title="Ext_chart_Navigation" rel="Chapter" href="Ext_chart_Navigation.html">
<link title="Ext_chart_Tip" rel="Chapter" href="Ext_chart_Tip.html">
<link title="Ext_chart_axis_Abstract" rel="Chapter" href="Ext_chart_axis_Abstract.html">
<link title="Ext_chart_axis_Axis" rel="Chapter" href="Ext_chart_axis_Axis.html">
<link title="Ext_chart_series_Series" rel="Chapter" href="Ext_chart_series_Series.html">
<link title="Ext_chart_theme_Theme" rel="Chapter" href="Ext_chart_theme_Theme.html">
<link title="Ext_container_AbstractContainer" rel="Chapter" href="Ext_container_AbstractContainer.html">
<link title="Ext_container_Container" rel="Chapter" href="Ext_container_Container.html">
<link title="Ext_container_DockingContainer" rel="Chapter" href="Ext_container_DockingContainer.html">
<link title="Ext_container_Viewport" rel="Chapter" href="Ext_container_Viewport.html">
<link title="Ext_Date" rel="Chapter" href="Ext_Date.html">
<link title="Ext_data_AbstractStore" rel="Chapter" href="Ext_data_AbstractStore.html">
<link title="Ext_data_Batch" rel="Chapter" href="Ext_data_Batch.html">
<link title="Ext_data_Errors" rel="Chapter" href="Ext_data_Errors.html">
<link title="Ext_data_Field" rel="Chapter" href="Ext_data_Field.html">
<link title="Ext_data_Model" rel="Chapter" href="Ext_data_Model.html">
<link title="Ext_data_Operation" rel="Chapter" href="Ext_data_Operation.html">
<link title="Ext_data_proxy_Ajax" rel="Chapter" href="Ext_data_proxy_Ajax.html">
<link title="Ext_data_proxy_Proxy" rel="Chapter" href="Ext_data_proxy_Proxy.html">
<link title="Ext_data_proxy_Server" rel="Chapter" href="Ext_data_proxy_Server.html">
<link title="Ext_data_reader_Reader" rel="Chapter" href="Ext_data_reader_Reader.html">
<link title="Ext_data_Request" rel="Chapter" href="Ext_data_Request.html">
<link title="Ext_data_ResultSet" rel="Chapter" href="Ext_data_ResultSet.html">
<link title="Ext_data_Store" rel="Chapter" href="Ext_data_Store.html">
<link title="Ext_data_writer_Writer" rel="Chapter" href="Ext_data_writer_Writer.html">
<link title="Ext_dd_DD" rel="Chapter" href="Ext_dd_DD.html">
<link title="Ext_dd_DDProxy" rel="Chapter" href="Ext_dd_DDProxy.html">
<link title="Ext_dd_DDTarget" rel="Chapter" href="Ext_dd_DDTarget.html">
<link title="Ext_dd_DragDrop" rel="Chapter" href="Ext_dd_DragDrop.html">
<link title="Ext_dd_DragSource" rel="Chapter" href="Ext_dd_DragSource.html">
<link title="Ext_dd_DragTracker" rel="Chapter" href="Ext_dd_DragTracker.html">
<link title="Ext_dd_StatusProxy" rel="Chapter" href="Ext_dd_StatusProxy.html">
<link title="Ext_dom_AbstractElement" rel="Chapter" href="Ext_dom_AbstractElement.html">
<link title="Ext_dom_CompositeElement" rel="Chapter" href="Ext_dom_CompositeElement.html">
<link title="Ext_dom_CompositeElementLite" rel="Chapter" href="Ext_dom_CompositeElementLite.html">
<link title="Ext_dom_Element" rel="Chapter" href="Ext_dom_Element.html">
<link title="Ext_dom_Element_Fly" rel="Chapter" href="Ext_dom_Element_Fly.html">
<link title="Ext_draw_Component" rel="Chapter" href="Ext_draw_Component.html">
<link title="Ext_draw_Sprite" rel="Chapter" href="Ext_draw_Sprite.html">
<link title="Ext_draw_Surface" rel="Chapter" href="Ext_draw_Surface.html">
<link title="Ext_ElementLoader" rel="Chapter" href="Ext_ElementLoader.html">
<link title="Ext_Error" rel="Chapter" href="Ext_Error.html">
<link title="Ext_EventObject" rel="Chapter" href="Ext_EventObject.html">
<link title="Ext_enums_Widget" rel="Chapter" href="Ext_enums_Widget.html">
<link title="Ext_form_action_Action" rel="Chapter" href="Ext_form_action_Action.html">
<link title="Ext_form_Basic" rel="Chapter" href="Ext_form_Basic.html">
<link title="Ext_form_FieldAncestor" rel="Chapter" href="Ext_form_FieldAncestor.html">
<link title="Ext_form_field_Base" rel="Chapter" href="Ext_form_field_Base.html">
<link title="Ext_form_field_Field" rel="Chapter" href="Ext_form_field_Field.html">
<link title="Ext_form_field_Text" rel="Chapter" href="Ext_form_field_Text.html">
<link title="Ext_form_Labelable" rel="Chapter" href="Ext_form_Labelable.html">
<link title="Ext_form_Panel" rel="Chapter" href="Ext_form_Panel.html">
<link title="Ext_grid_column_Column" rel="Chapter" href="Ext_grid_column_Column.html">
<link title="Ext_grid_feature_Feature" rel="Chapter" href="Ext_grid_feature_Feature.html">
<link title="Ext_grid_header_Container" rel="Chapter" href="Ext_grid_header_Container.html">
<link title="Ext_grid_locking_Lockable" rel="Chapter" href="Ext_grid_locking_Lockable.html">
<link title="Ext_grid_Panel" rel="Chapter" href="Ext_grid_Panel.html">
<link title="Ext_grid_plugin_Editing" rel="Chapter" href="Ext_grid_plugin_Editing.html">
<link title="Ext_grid_View" rel="Chapter" href="Ext_grid_View.html">
<link title="Ext_layout_container_Container" rel="Chapter" href="Ext_layout_container_Container.html">
<link title="Ext_layout_ContextItem" rel="Chapter" href="Ext_layout_ContextItem.html">
<link title="Ext_layout_Layout" rel="Chapter" href="Ext_layout_Layout.html">
<link title="Ext_layout_SizePolicy" rel="Chapter" href="Ext_layout_SizePolicy.html">
<link title="Ext_LoadMask" rel="Chapter" href="Ext_LoadMask.html">
<link title="Ext_Loader" rel="Chapter" href="Ext_Loader.html">
<link title="Ext_MessageBox" rel="Chapter" href="Ext_MessageBox.html">
<link title="Ext_menu_Menu" rel="Chapter" href="Ext_menu_Menu.html">
<link title="Ext_panel_AbstractPanel" rel="Chapter" href="Ext_panel_AbstractPanel.html">
<link title="Ext_panel_Panel" rel="Chapter" href="Ext_panel_Panel.html">
<link title="Ext_panel_Table" rel="Chapter" href="Ext_panel_Table.html">
<link title="Ext_Queryable" rel="Chapter" href="Ext_Queryable.html">
<link title="Ext_selection_DataViewModel" rel="Chapter" href="Ext_selection_DataViewModel.html">
<link title="Ext_selection_Model" rel="Chapter" href="Ext_selection_Model.html">
<link title="Ext_selection_RowModel" rel="Chapter" href="Ext_selection_RowModel.html">
<link title="Ext_state_Manager" rel="Chapter" href="Ext_state_Manager.html">
<link title="Ext_state_Provider" rel="Chapter" href="Ext_state_Provider.html">
<link title="Ext_state_Stateful" rel="Chapter" href="Ext_state_Stateful.html">
<link title="Ext_Template" rel="Chapter" href="Ext_Template.html">
<link title="Ext_tip_QuickTip" rel="Chapter" href="Ext_tip_QuickTip.html">
<link title="Ext_tip_QuickTipManager" rel="Chapter" href="Ext_tip_QuickTipManager.html">
<link title="Ext_tip_Tip" rel="Chapter" href="Ext_tip_Tip.html">
<link title="Ext_tip_ToolTip" rel="Chapter" href="Ext_tip_ToolTip.html">
<link title="Ext_util_AbstractMixedCollection" rel="Chapter" href="Ext_util_AbstractMixedCollection.html">
<link title="Ext_util_Animate" rel="Chapter" href="Ext_util_Animate.html">
<link title="Ext_util_Bindable" rel="Chapter" href="Ext_util_Bindable.html">
<link title="Ext_util_ComponentDragger" rel="Chapter" href="Ext_util_ComponentDragger.html">
<link title="Ext_util_ElementContainer" rel="Chapter" href="Ext_util_ElementContainer.html">
<link title="Ext_util_Filter" rel="Chapter" href="Ext_util_Filter.html">
<link title="Ext_util_Floating" rel="Chapter" href="Ext_util_Floating.html">
<link title="Ext_util_Format" rel="Chapter" href="Ext_util_Format.html">
<link title="Ext_util_Grouper" rel="Chapter" href="Ext_util_Grouper.html">
<link title="Ext_util_KeyMap" rel="Chapter" href="Ext_util_KeyMap.html">
<link title="Ext_util_MixedCollection" rel="Chapter" href="Ext_util_MixedCollection.html">
<link title="Ext_util_Observable" rel="Chapter" href="Ext_util_Observable.html">
<link title="Ext_util_Offset" rel="Chapter" href="Ext_util_Offset.html">
<link title="Ext_util_Point" rel="Chapter" href="Ext_util_Point.html">
<link title="Ext_util_Positionable" rel="Chapter" href="Ext_util_Positionable.html">
<link title="Ext_util_Region" rel="Chapter" href="Ext_util_Region.html">
<link title="Ext_util_Renderable" rel="Chapter" href="Ext_util_Renderable.html">
<link title="Ext_util_Sortable" rel="Chapter" href="Ext_util_Sortable.html">
<link title="Ext_util_Sorter" rel="Chapter" href="Ext_util_Sorter.html">
<link title="Ext_Version" rel="Chapter" href="Ext_Version.html">
<link title="Ext_view_AbstractView" rel="Chapter" href="Ext_view_AbstractView.html">
<link title="Ext_view_Table" rel="Chapter" href="Ext_view_Table.html">
<link title="Ext_view_View" rel="Chapter" href="Ext_view_View.html">
<link title="Ext_window_MessageBox" rel="Chapter" href="Ext_window_MessageBox.html">
<link title="Ext_window_Window" rel="Chapter" href="Ext_window_Window.html">
<link title="Ext_ZIndexManager" rel="Chapter" href="Ext_ZIndexManager.html">
<link title="ExtUtils" rel="Chapter" href="ExtUtils.html"><title>Ext_form_field_Text.configs</title>
</head>
<body>
<div class="navbar"><a href="Ext_form_field_Text.t-c.html">Previous</a>
<a href="Ext_form_field_Text.html">Up</a>
<a href="Ext_form_field_Text.events-c.html">Next</a>
</div>
<center><h1>Class type <a href="type_Ext_form_field_Text.configs.html">Ext_form_field_Text.configs</a></h1></center>
<br>
<pre><span id="TYPEconfigs"><span class="keyword">class type</span> configs</span> = <code class="code">object</code> <a href="Ext_form_field_Text.configs-c.html">..</a> <code class="code">end</code></pre><b>Inherits</b><ul>
<li><a href="Ext_form_field_Base.configs-c.html"><code class="code">Ext_form_field_Base.configs</code></a></li>
</ul>
<hr width="100%">
<pre><span id="METHODallowBlank"><span class="keyword">method</span> allowBlank</span> : <code class="type">bool Js.t Js.prop</code></pre><div class="info">
<p>Specify false to validate that the value's length must be > 0. If <code>true</code>, then a blank value is <strong>always</strong> taken to be valid regardless of any <a href="#!/api/Ext.form.field.Text-cfg-vtype" rel="Ext.form.field.Text-cfg-vtype" class="docClass">vtype</a>
validation that may be applied.</p>
<p>If <a href="#!/api/Ext.form.field.Text-cfg-vtype" rel="Ext.form.field.Text-cfg-vtype" class="docClass">vtype</a> validation must still be applied to blank values, configure <a href="#!/api/Ext.form.field.Text-cfg-validateBlank" rel="Ext.form.field.Text-cfg-validateBlank" class="docClass">validateBlank</a> as <code>true</code>;</p>
<p>
Defaults to: <code class="code">true</code><br>
</div>
<pre><span id="METHODallowOnlyWhitespace"><span class="keyword">method</span> allowOnlyWhitespace</span> : <code class="type">bool Js.t Js.prop</code></pre><div class="info">
<p>Specify false to automatically trim the value before validating
the whether the value is blank. Setting this to false automatically
sets <a href="#!/api/Ext.form.field.Text-cfg-allowBlank" rel="Ext.form.field.Text-cfg-allowBlank" class="docClass">allowBlank</a> to false.</p>
<p>
Defaults to: <code class="code">true</code><br>
</div>
<pre><span id="METHODblankText"><span class="keyword">method</span> blankText</span> : <code class="type">Js.js_string Js.t Js.prop</code></pre><div class="info">
<p>The error text to display if the <strong><a href="#!/api/Ext.form.field.Text-cfg-allowBlank" rel="Ext.form.field.Text-cfg-allowBlank" class="docClass">allowBlank</a></strong> validation fails</p>
<p>
Defaults to: <code class="code">'This field is required'</code><br>
</div>
<pre><span id="METHODdisableKeyFilter"><span class="keyword">method</span> disableKeyFilter</span> : <code class="type">bool Js.t Js.prop</code></pre><div class="info">
<p>Specify true to disable input keystroke filtering</p>
<p>
Defaults to: <code class="code">false</code><br>
</div>
<pre><span id="METHODemptyCls"><span class="keyword">method</span> emptyCls</span> : <code class="type">Js.js_string Js.t Js.prop</code></pre><div class="info">
<p>The CSS class to apply to an empty field to style the <strong><a href="#!/api/Ext.form.field.Text-cfg-emptyText" rel="Ext.form.field.Text-cfg-emptyText" class="docClass">emptyText</a></strong>.
This class is automatically added and removed as needed depending on the current field value.</p>
<p>
Defaults to: <code class="code">'x-form-empty-field'</code><br>
</div>
<pre><span id="METHODemptyText"><span class="keyword">method</span> emptyText</span> : <code class="type">Js.js_string Js.t Js.prop</code></pre><div class="info">
<p>The default text to place into an empty field.</p>
<p>Note that normally this value will be submitted to the server if this field is enabled; to prevent this you can
set the <a href="#!/api/Ext.form.action.Action-cfg-submitEmptyText" rel="Ext.form.action.Action-cfg-submitEmptyText" class="docClass">submitEmptyText</a> option of <a href="#!/api/Ext.form.Basic-method-submit" rel="Ext.form.Basic-method-submit" class="docClass">Ext.form.Basic.submit</a> to
false.</p>
<p>Also note that if you use <a href="#!/api/Ext.form.field.Text-cfg-inputType" rel="Ext.form.field.Text-cfg-inputType" class="docClass">inputType</a>:'file', <a href="#!/api/Ext.form.field.Text-cfg-emptyText" rel="Ext.form.field.Text-cfg-emptyText" class="docClass">emptyText</a> is not supported and should be
avoided.</p>
<p>Note that for browsers that support it, setting this property will use the HTML 5 placeholder attribute, and for
older browsers that don't support the HTML 5 placeholder attribute the value will be placed directly into the input
element itself as the raw value. This means that older browsers will obfuscate the <a href="#!/api/Ext.form.field.Text-cfg-emptyText" rel="Ext.form.field.Text-cfg-emptyText" class="docClass">emptyText</a> value for
password input fields.</p> <br>
</div>
<pre><span id="METHODenableKeyEvents"><span class="keyword">method</span> enableKeyEvents</span> : <code class="type">bool Js.t Js.prop</code></pre><div class="info">
<p>true to enable the proxying of key events for the HTML input field</p>
<p>
Defaults to: <code class="code">false</code><br>
</div>
<pre><span id="METHODenforceMaxLength"><span class="keyword">method</span> enforceMaxLength</span> : <code class="type">bool Js.t Js.prop</code></pre><div class="info">
<p>True to set the maxLength property on the underlying input field. Defaults to false</p> <br>
</div>
<pre><span id="METHODgrow"><span class="keyword">method</span> grow</span> : <code class="type">bool Js.t Js.prop</code></pre><div class="info">
<p>true if this field should automatically grow and shrink to its content</p>
<p>
Defaults to: <code class="code">false</code><br>
</div>
<pre><span id="METHODgrowAppend"><span class="keyword">method</span> growAppend</span> : <code class="type">Js.js_string Js.t Js.prop</code></pre><div class="info">
<p>A string that will be appended to the field's current value for the purposes of calculating the target field
size. Only used when the <a href="#!/api/Ext.form.field.Text-cfg-grow" rel="Ext.form.field.Text-cfg-grow" class="docClass">grow</a> config is true. Defaults to a single capital "W" (the widest character in
common fonts) to leave enough space for the next typed character and avoid the field value shifting before the
width is adjusted.</p>
<p>
Defaults to: <code class="code">'W'</code><br>
</div>
<pre><span id="METHODgrowMax"><span class="keyword">method</span> growMax</span> : <code class="type">Js.number Js.t Js.prop</code></pre><div class="info">
<p>The maximum width to allow when <code><a href="#!/api/Ext.form.field.Text-cfg-grow" rel="Ext.form.field.Text-cfg-grow" class="docClass">grow</a> = true</code></p>
<p>
Defaults to: <code class="code">800</code><br>
</div>
<pre><span id="METHODgrowMin"><span class="keyword">method</span> growMin</span> : <code class="type">Js.number Js.t Js.prop</code></pre><div class="info">
<p>The minimum width to allow when <code><a href="#!/api/Ext.form.field.Text-cfg-grow" rel="Ext.form.field.Text-cfg-grow" class="docClass">grow</a> = true</code></p>
<p>
Defaults to: <code class="code">30</code><br>
</div>
<pre><span id="METHODmaskRe"><span class="keyword">method</span> maskRe</span> : <code class="type">Regexp.regexp Js.t Js.prop</code></pre><div class="info">
<p>An input mask regular expression that will be used to filter keystrokes (character being
typed) that do not match.
Note: It does not filter characters already in the input.</p> <br>
</div>
<pre><span id="METHODmaxLength"><span class="keyword">method</span> maxLength</span> : <code class="type">Js.number Js.t Js.prop</code></pre><div class="info">
<p>Maximum input field length allowed by validation. This behavior is intended to
provide instant feedback to the user by improving usability to allow pasting and editing or overtyping and back
tracking. To restrict the maximum number of characters that can be entered into the field use the
<strong><a href="#!/api/Ext.form.field.Text-cfg-enforceMaxLength" rel="Ext.form.field.Text-cfg-enforceMaxLength" class="docClass">enforceMaxLength</a></strong> option.</p>
<p>Defaults to Number.MAX_VALUE.</p> <br>
</div>
<pre><span id="METHODmaxLengthText"><span class="keyword">method</span> maxLengthText</span> : <code class="type">Js.js_string Js.t Js.prop</code></pre><div class="info">
<p>Error text to display if the <strong><a href="#!/api/Ext.form.field.Text-cfg-maxLength" rel="Ext.form.field.Text-cfg-maxLength" class="docClass">maximum length</a></strong> validation fails</p>
<p>
Defaults to: <code class="code">'The maximum length for this field is {0}'</code><br>
</div>
<pre><span id="METHODminLength"><span class="keyword">method</span> minLength</span> : <code class="type">Js.number Js.t Js.prop</code></pre><div class="info">
<p>Minimum input field length required</p>
<p>
Defaults to: <code class="code">0</code><br>
</div>
<pre><span id="METHODminLengthText"><span class="keyword">method</span> minLengthText</span> : <code class="type">Js.js_string Js.t Js.prop</code></pre><div class="info">
<p>Error text to display if the <strong><a href="#!/api/Ext.form.field.Text-cfg-minLength" rel="Ext.form.field.Text-cfg-minLength" class="docClass">minimum length</a></strong> validation fails.</p>
<p>
Defaults to: <code class="code">'The minimum length for this field is {0}'</code><br>
</div>
<pre><span id="METHODregex"><span class="keyword">method</span> regex</span> : <code class="type">Regexp.regexp Js.t Js.prop</code></pre><div class="info">
<p>A JavaScript RegExp object to be tested against the field value during validation.
If the test fails, the field will be marked invalid using
either <strong><a href="#!/api/Ext.form.field.Text-cfg-regexText" rel="Ext.form.field.Text-cfg-regexText" class="docClass">regexText</a></strong> or <strong><a href="#!/api/Ext.form.field.Text-cfg-invalidText" rel="Ext.form.field.Text-cfg-invalidText" class="docClass">invalidText</a></strong>.</p> <br>
</div>
<pre><span id="METHODregexText"><span class="keyword">method</span> regexText</span> : <code class="type">Js.js_string Js.t Js.prop</code></pre><div class="info">
<p>The error text to display if <strong><a href="#!/api/Ext.form.field.Text-cfg-regex" rel="Ext.form.field.Text-cfg-regex" class="docClass">regex</a></strong> is used and the test fails during validation</p>
<p>
Defaults to: <code class="code">''</code><br>
</div>
<pre><span id="METHODrequiredCls"><span class="keyword">method</span> requiredCls</span> : <code class="type">Js.js_string Js.t Js.prop</code></pre><div class="info">
<p>The CSS class to apply to a required field, i.e. a field where <strong><a href="#!/api/Ext.form.field.Text-cfg-allowBlank" rel="Ext.form.field.Text-cfg-allowBlank" class="docClass">allowBlank</a></strong> is false.</p>
<p>
Defaults to: <code class="code">'x-form-required-field'</code><br>
</div>
<pre><span id="METHODselectOnFocus"><span class="keyword">method</span> selectOnFocus</span> : <code class="type">bool Js.t Js.prop</code></pre><div class="info">
<p>true to automatically select any existing field text when the field receives input focus</p>
<p>
Defaults to: <code class="code">false</code><br>
</div>
<pre><span id="METHODsize"><span class="keyword">method</span> size</span> : <code class="type">Js.number Js.t Js.prop</code></pre><div class="info">
<p>An initial value for the 'size' attribute on the text input element. This is only used if the field has no
configured <a href="#!/api/Ext.form.field.Text-cfg-width" rel="Ext.form.field.Text-cfg-width" class="docClass">width</a> and is not given a width by its container's layout. Defaults to 20.</p>
<p>
Defaults to: <code class="code">20</code><br>
</div>
<pre><span id="METHODstripCharsRe"><span class="keyword">method</span> stripCharsRe</span> : <code class="type">Regexp.regexp Js.t Js.prop</code></pre><div class="info">
<p>A JavaScript RegExp object used to strip unwanted content from the value
during input. If <code>stripCharsRe</code> is specified,
every <em>character sequence</em> matching <code>stripCharsRe</code> will be removed.</p> <br>
</div>
<pre><span id="METHODvalidateBlank"><span class="keyword">method</span> validateBlank</span> : <code class="type">bool Js.t Js.prop</code></pre><div class="info">
<p>Specify as <code>true</code> to modify the behaviour of <a href="#!/api/Ext.form.field.Text-cfg-allowBlank" rel="Ext.form.field.Text-cfg-allowBlank" class="docClass">allowBlank</a> so that blank values are not passed as valid, but are subject to any configure <a href="#!/api/Ext.form.field.Text-cfg-vtype" rel="Ext.form.field.Text-cfg-vtype" class="docClass">vtype</a> validation.</p>
<p>
Defaults to: <code class="code">false</code><br>
</div>
<pre><span id="METHODvalidator"><span class="keyword">method</span> validator</span> : <code class="type">'a. 'a Js.callback Js.prop</code></pre><div class="info">
<p>A custom validation function to be called during field validation (<a href="#!/api/Ext.form.field.Text-method-getErrors" rel="Ext.form.field.Text-method-getErrors" class="docClass">getErrors</a>).
If specified, this function will be called first, allowing the developer to override the default validation
process.</p>
<p>This function will be passed the following parameters:</p> <br>
</div>
<pre><span id="METHODvtype"><span class="keyword">method</span> vtype</span> : <code class="type">Js.js_string Js.t Js.prop</code></pre><div class="info">
<p>A validation type name as defined in <a href="#!/api/Ext.form.field.VTypes" rel="Ext.form.field.VTypes" class="docClass">Ext.form.field.VTypes</a></p> <br>
</div>
<pre><span id="METHODvtypeText"><span class="keyword">method</span> vtypeText</span> : <code class="type">Js.js_string Js.t Js.prop</code></pre><div class="info">
<p>A custom error message to display in place of the default message provided for the <strong><code><a href="#!/api/Ext.form.field.Text-cfg-vtype" rel="Ext.form.field.Text-cfg-vtype" class="docClass">vtype</a></code></strong> currently
set for this field. <strong>Note</strong>: only applies if <strong><code><a href="#!/api/Ext.form.field.Text-cfg-vtype" rel="Ext.form.field.Text-cfg-vtype" class="docClass">vtype</a></code></strong> is set, else ignored.</p> <br>
</div>
<pre><span id="METHODafterComponentLayout"><span class="keyword">method</span> afterComponentLayout</span> : <code class="type">'b 'c.<br> ((< activeError : Js.js_string Js.t Js.prop;<br> activeErrorsTpl : 'f. 'f Js.t Js.prop;<br> afterBodyEl : 'g. 'g Js.t Js.prop; afterComponentLayout : 'b 'c. 'd;<br> afterHide : 'h 'i.<br> ('e Js.t,<br> 'h Js.callback Js.optdef -> 'i Js.t Js.optdef -> unit)<br> Js.meth_callback Js.writeonly_prop;<br> afterLabelTextTpl : 'j. 'j Js.t Js.prop;<br> afterLabelTpl : 'k. 'k Js.t Js.prop;<br> afterRender : ('e Js.t, unit -> unit) Js.meth_callback<br> Js.writeonly_prop;<br> afterSetPosition : ('e Js.t, Js.number Js.t -> Js.number Js.t -> unit)<br> Js.meth_callback Js.writeonly_prop;<br> afterShow : 'l 'm 'n.<br> ('e Js.t,<br> 'l Js.t Js.optdef -><br> 'm Js.callback Js.optdef -> 'n Js.t Js.optdef -> unit)<br> Js.meth_callback Js.writeonly_prop;<br> afterSubTpl : 'o. 'o Js.t Js.prop; allowBlank : bool Js.t Js.prop;<br> allowOnlyWhitespace : bool Js.t Js.prop; autoEl : 'p. 'p Js.t Js.prop;<br> autoFitErrors : bool Js.t Js.prop; autoRender : 'q. 'q Js.t Js.prop;<br> autoScroll : bool Js.t Js.prop; autoShow : bool Js.t Js.prop;<br> baseBodyCls : Js.js_string Js.t Js.prop;<br> baseCls : Js.js_string Js.t Js.prop;<br> beforeBodyEl : 'r. 'r Js.t Js.prop;<br> beforeComponentLayout : ('e Js.t,<br> Js.number Js.t -> Js.number Js.t -> unit)<br> Js.meth_callback Js.writeonly_prop;<br> beforeDestroy : ('e Js.t, unit -> unit) Js.meth_callback<br> Js.writeonly_prop;<br> beforeLabelTextTpl : 's. 's Js.t Js.prop;<br> beforeLabelTpl : 't. 't Js.t Js.prop;<br> beforeLayout : ('e Js.t, unit -> unit) Js.meth_callback<br> Js.writeonly_prop;<br> beforeShow : ('e Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop;<br> beforeSubTpl : 'u. 'u Js.t Js.prop;<br> blankText : Js.js_string Js.t Js.prop; border : 'v. 'v Js.t Js.prop;<br> checkChangeBuffer : Js.number Js.t Js.prop;<br> checkChangeEvents : Js.js_string Js.t Js.js_array Js.t Js.prop;<br> childEls : 'w. 'w Js.t Js.js_array Js.t Js.prop;<br> clearCls : Js.js_string Js.t Js.prop; cls : Js.js_string Js.t Js.prop;<br> columnWidth : 'x. 'x Js.t Js.prop;<br> componentCls : Js.js_string Js.t Js.prop;<br> componentLayout : 'y. 'y Js.t Js.prop; constrain : bool Js.t Js.prop;<br> constrainTo : 'z. 'z Js.t Js.prop;<br> constraintInsets : 'a1. 'a1 Js.t Js.prop;<br> contentEl : Js.js_string Js.t Js.prop; data : 'b1. 'b1 Js.t Js.prop;<br> defaultAlign : Js.js_string Js.t Js.prop;<br> dirtyCls : Js.js_string Js.t Js.prop;<br> disableKeyFilter : bool Js.t Js.prop; disabled : bool Js.t Js.prop;<br> disabledCls : Js.js_string Js.t Js.prop; draggable : bool Js.t Js.prop;<br> draggable_obj : 'c1. 'c1 Js.t Js.prop;<br> emptyCls : Js.js_string Js.t Js.prop;<br> emptyText : Js.js_string Js.t Js.prop;<br> enableKeyEvents : bool Js.t Js.prop;<br> enforceMaxLength : bool Js.t Js.prop;<br> errorMsgCls : Js.js_string Js.t Js.prop;<br> fieldBodyCls : Js.js_string Js.t Js.prop;<br> fieldCls : Js.js_string Js.t Js.prop;<br> fieldLabel : Js.js_string Js.t Js.prop;<br> fieldStyle : Js.js_string Js.t Js.prop; fixed : bool Js.t Js.prop;<br> floating : bool Js.t Js.prop; focusCls : Js.js_string Js.t Js.prop;<br> focusOnToFront : bool Js.t Js.prop; formBind : bool Js.t Js.prop;<br> formItemCls : Js.js_string Js.t Js.prop; frame : bool Js.t Js.prop;<br> getFieldLabel : ('e Js.t, unit -> Js.js_string Js.t) Js.meth_callback<br> Js.writeonly_prop;<br> getSubTplData : 'd1.<br> ('e Js.t, unit -> 'd1 Js.t) Js.meth_callback<br> Js.writeonly_prop;<br> grow : bool Js.t Js.prop; growAppend : Js.js_string Js.t Js.prop;<br> growMax : Js.number Js.t Js.prop; growMin : Js.number Js.t Js.prop;<br> height : Js.number Js.t Js.prop; hidden : bool Js.t Js.prop;<br> hideEmptyLabel : bool Js.t Js.prop; hideLabel : bool Js.t Js.prop;<br> hideMode : Js.js_string Js.t Js.prop; html : 'e1. 'e1 Js.t Js.prop;<br> id : Js.js_string Js.t Js.prop;<br> initComponent : ('e Js.t, unit -> unit) Js.meth_callback<br> Js.writeonly_prop;<br> inputAttrTpl : 'f1. 'f1 Js.t Js.prop;<br> inputId : Js.js_string Js.t Js.prop;<br> inputType : Js.js_string Js.t Js.prop;<br> invalidCls : Js.js_string Js.t Js.prop;<br> invalidText : Js.js_string Js.t Js.prop;<br> itemId : Js.js_string Js.t Js.prop;<br> labelAlign : Js.js_string Js.t Js.prop;<br> labelAttrTpl : 'g1. 'g1 Js.t Js.prop;<br> labelCls : Js.js_string Js.t Js.prop;<br> labelClsExtra : Js.js_string Js.t Js.prop;<br> labelPad : Js.number Js.t Js.prop;<br> labelSeparator : Js.js_string Js.t Js.prop;<br> labelStyle : Js.js_string Js.t Js.prop;<br> labelWidth : Js.number Js.t Js.prop; listeners : 'h1. 'h1 Js.t Js.prop;<br> loader : 'i1. 'i1 Js.t Js.prop; margin : 'j1. 'j1 Js.t Js.prop;<br> maskRe : Regexp.regexp Js.t Js.prop;<br> maxHeight : Js.number Js.t Js.prop; maxLength : Js.number Js.t Js.prop;<br> maxLengthText : Js.js_string Js.t Js.prop;<br> maxWidth : Js.number Js.t Js.prop; minHeight : Js.number Js.t Js.prop;<br> minLength : Js.number Js.t Js.prop;<br> minLengthText : Js.js_string Js.t Js.prop;<br> minWidth : Js.number Js.t Js.prop;<br> msgTarget : Js.js_string Js.t Js.prop;<br> name : Js.js_string Js.t Js.prop;<br> onAdded : 'k1.<br> ('e Js.t, 'k1 Js.t -> Js.number Js.t -> unit)<br> Js.meth_callback Js.writeonly_prop;<br> onDestroy : ('e Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop;<br> onDisable : ('e Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop;<br> onEnable : ('e Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop;<br> onHide : 'l1 'm1 'n1.<br> ('e Js.t,<br> 'l1 Js.t Js.optdef -><br> 'm1 Js.callback Js.optdef -> 'n1 Js.t Js.optdef -> unit)<br> Js.meth_callback Js.writeonly_prop;<br> onPosition : ('e Js.t, Js.number Js.t -> Js.number Js.t -> unit)<br> Js.meth_callback Js.writeonly_prop;<br> onRemoved : ('e Js.t, bool Js.t -> unit) Js.meth_callback<br> Js.writeonly_prop;<br> onRender : ('e Js.t, <a href="Ext_dom_Element.t-c.html">Ext_dom_Element.t</a> Js.t -> Js.number Js.t -> unit)<br> Js.meth_callback Js.writeonly_prop;<br> onResize : 'o1 'p1 'q1 'r1.<br> ('e Js.t,<br> 'o1 Js.t -> 'p1 Js.t -> 'q1 Js.t -> 'r1 Js.t -> unit)<br> Js.meth_callback Js.writeonly_prop;<br> onShow : 's1 't1 'u1.<br> ('e Js.t,<br> 's1 Js.t Js.optdef -><br> 't1 Js.callback Js.optdef -> 'u1 Js.t Js.optdef -> unit)<br> Js.meth_callback Js.writeonly_prop;<br> onShowComplete : 'v1 'w1.<br> ('e Js.t,<br> 'v1 Js.callback Js.optdef -><br> 'w1 Js.t Js.optdef -> unit)<br> Js.meth_callback Js.writeonly_prop;<br> overCls : Js.js_string Js.t Js.prop;<br> overflowX : Js.js_string Js.t Js.prop;<br> overflowY : Js.js_string Js.t Js.prop; padding : 'x1. 'x1 Js.t Js.prop;<br> plugins : 'y1. 'y1 Js.t Js.prop; preventMark : bool Js.t Js.prop;<br> readOnly : bool Js.t Js.prop; readOnlyCls : Js.js_string Js.t Js.prop;<br> regex : Regexp.regexp Js.t Js.prop;<br> regexText : Js.js_string Js.t Js.prop; region : 'z1. 'z1 Js.t Js.prop;<br> renderData : 'a2. 'a2 Js.t Js.prop;<br> renderSelectors : 'b2. 'b2 Js.t Js.prop;<br> renderTo : 'c2. 'c2 Js.t Js.prop; renderTpl : 'd2. 'd2 Js.t Js.prop;<br> requiredCls : Js.js_string Js.t Js.prop;<br> resizable : 'e2. 'e2 Js.t Js.prop;<br> resizeHandles : Js.js_string Js.t Js.prop; rtl : bool Js.t Js.prop;<br> saveDelay : Js.number Js.t Js.prop; selectOnFocus : bool Js.t Js.prop;<br> shadow : 'f2. 'f2 Js.t Js.prop; shadowOffset : Js.number Js.t Js.prop;<br> shrinkWrap : 'g2. 'g2 Js.t Js.prop; size : Js.number Js.t Js.prop;<br> stateEvents : Js.js_string Js.t Js.js_array Js.t Js.prop;<br> stateId : Js.js_string Js.t Js.prop; stateful : bool Js.t Js.prop;<br> stripCharsRe : Regexp.regexp Js.t Js.prop;<br> style : 'h2. 'h2 Js.t Js.prop; submitValue : bool Js.t Js.prop;<br> tabIndex : Js.number Js.t Js.prop; toFrontOnShow : bool Js.t Js.prop;<br> tpl : 'i2. 'i2 Js.t Js.prop; tplWriteMode : Js.js_string Js.t Js.prop;<br> ui : Js.js_string Js.t Js.prop; validateBlank : bool Js.t Js.prop;<br> validateOnBlur : bool Js.t Js.prop;<br> validateOnChange : bool Js.t Js.prop;<br> validator : 'a. 'a Js.callback Js.prop; value : 'j2. 'j2 Js.t Js.prop;<br> vtype : Js.js_string Js.t Js.prop;<br> vtypeText : Js.js_string Js.t Js.prop; width : Js.number Js.t Js.prop;<br> xtype : Js.js_string Js.t Js.prop; .. ><br> as 'e)<br> Js.t, Js.number Js.t -> Js.number Js.t -> 'b Js.t -> 'c Js.t -> unit)<br> Js.meth_callback Js.writeonly_prop as 'd</code></pre><div class="info">
See method <code class="code">t.afterComponentLayout</code><br>
</div>
<pre><span id="METHODafterRender"><span class="keyword">method</span> afterRender</span> : <code class="type">('e Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop</code></pre><div class="info">
See method <code class="code">t.afterRender</code><br>
</div>
<pre><span id="METHODgetSubTplData"><span class="keyword">method</span> getSubTplData</span> : <code class="type">'d1. ('e Js.t, unit -> 'd1 Js.t) Js.meth_callback Js.writeonly_prop</code></pre><div class="info">
See method <code class="code">t.getSubTplData</code><br>
</div>
<pre><span id="METHODinitComponent"><span class="keyword">method</span> initComponent</span> : <code class="type">('e Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop</code></pre><div class="info">
See method <code class="code">t.initComponent</code><br>
</div>
<pre><span id="METHODonDestroy"><span class="keyword">method</span> onDestroy</span> : <code class="type">('e Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop</code></pre><div class="info">
See method <code class="code">t.onDestroy</code><br>
</div>
<pre><span id="METHODonDisable"><span class="keyword">method</span> onDisable</span> : <code class="type">('e Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop</code></pre><div class="info">
See method <code class="code">t.onDisable</code><br>
</div>
<pre><span id="METHODonEnable"><span class="keyword">method</span> onEnable</span> : <code class="type">('e Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop</code></pre><div class="info">
See method <code class="code">t.onEnable</code><br>
</div>
</body></html>