|
| Builder (TLabelable component) |
|
virtual TBuilder | ActiveError (string activeError) |
| If specified, then the component will be displayed with this value as its active error when first rendered. Defaults to undefined. Use setActiveError or unsetActiveError to change it after component creation. More...
|
|
virtual TBuilder | ActiveErrorsTpl (string activeErrorsTpl) |
| The template used to format the Array of error messages passed to setActiveErrors into a single HTML string. By default this renders each message as an item in an unordered list. More...
|
|
virtual TBuilder | AriaErrorText (string ariaErrorText) |
| Localized announcement text for validation errors. This text will be used by Assistive Technologies such as screen readers to alert the users when field validation fails. More...
|
|
virtual TBuilder | AriaHelp (string ariaHelp) |
| Optional text description for this object. This text will be announced to Assistive Technology users when the object is focused. More...
|
|
virtual TBuilder | AutoFitErrors (bool autoFitErrors) |
| Whether to adjust the component's body area to make room for 'side' or 'under' error messages. Defaults to true. More...
|
|
virtual TBuilder | BaseBodyCls (string baseBodyCls) |
| The CSS class to be applied to the body content element. Defaults to 'x-form-item-body'. More...
|
|
virtual TBuilder | ClearCls (string clearCls) |
| The CSS class used to to apply to the special clearing div rendered directly after each form field wrapper to provide field clearing (defaults to 'x-form-clear-left'). More...
|
|
virtual TBuilder | DirtyCls (string dirtyCls) |
| The CSS class to use when the field value is dirty. More...
|
|
virtual TBuilder | ErrorMsgCls (string errorMsgCls) |
| The CSS class to be applied to the error message element. Defaults to 'x-form-error-msg'. More...
|
|
virtual TBuilder | FieldBodyCls (string fieldBodyCls) |
| An extra CSS class to be applied to the body content element in addition to fieldBodyCls. Defaults to empty. More...
|
|
virtual TBuilder | FieldLabel (string fieldLabel) |
| The label for the field. It gets appended with the labelSeparator, and its position and sizing is determined by the labelAlign, labelWidth, and labelPad configs. Defaults to undefined. More...
|
|
virtual TBuilder | FocusCls (string focusCls) |
| The CSS class to use when the field receives focus (defaults to 'x-form-focus') More...
|
|
virtual TBuilder | FormItemCls (string formItemCls) |
| A CSS class to be applied to the outermost element to denote that it is participating in the form field layout. Defaults to 'x-form-item'. More...
|
|
virtual TBuilder | HideEmptyLabel (bool hideEmptyLabel) |
| When set to true, the label element (fieldLabel and labelSeparator) will be automatically hidden if the fieldLabel is empty. More...
|
|
virtual TBuilder | HideLabel (bool hideLabel) |
| Set to true to completely hide the label element (fieldLabel and labelSeparator). Defaults to false. More...
|
|
virtual TBuilder | InvalidCls (string invalidCls) |
| The CSS class to use when marking the component invalid (defaults to 'x-form-invalid') More...
|
|
virtual TBuilder | InvalidText (string invalidText) |
| The error text to use when marking a field invalid and no message is provided (defaults to 'The value in this field is invalid'). More...
|
|
virtual TBuilder | LabelAlign (LabelAlign labelAlign) |
| Controls the position and alignment of the fieldLabel. More...
|
|
virtual TBuilder | LabelCls (string labelCls) |
| The CSS class to be applied to the label element. More...
|
|
virtual TBuilder | LabelPad (int labelPad) |
| The amount of space in pixels between the fieldLabel and the input field. Defaults to 5. More...
|
|
virtual TBuilder | LabelSeparator (string labelSeparator) |
| Character(s) to be inserted at the end of the label text. More...
|
|
virtual TBuilder | LabelStyle (string labelStyle) |
| A CSS style specification string to apply directly to this field's label. Defaults to undefined. More...
|
|
virtual TBuilder | LabelWidth (int labelWidth) |
| The width of the fieldLabel in pixels. Only applicable if the labelAlign is set to "left" or "right". Defaults to 100. More...
|
|
virtual TBuilder | MsgTarget (MessageTarget msgTarget) |
| The location where the error message text should display. More...
|
|
virtual TBuilder | MsgTargetElement (string msgTargetElement) |
| Add the error message directly to the innerHTML of the specified element. More...
|
|
virtual TBuilder | PreventMark (bool preventMark) |
| true to disable displaying any error message set on this object. Defaults to false. More...
|
|
virtual TBuilder | ReadOnly (bool readOnly) |
| true to mark the field as readOnly in HTML (defaults to false). More...
|
|
virtual TBuilder | ReadOnlyCls (string readOnlyCls) |
| The CSS class applied to the component's main element when it is readOnly. More...
|
|
virtual TBuilder | SubmitValue (bool submitValue) |
| Setting this to false will prevent the field from being submitted even when it is not disabled. Defaults to true. More...
|
|
virtual TBuilder | PreserveIndicatorIcon (bool preserveIndicatorIcon) |
| Preserve indicator icon place. Defaults to false More...
|
|
virtual TBuilder | AllowBlank (bool allowBlank) |
| False to validate that the value length > 0 (defaults to true). More...
|
|
virtual TBuilder | BlankText (string blankText) |
| Error text to display if the allow blank validation fails (defaults to 'This field is required'). More...
|
|
virtual TBuilder | DisableKeyFilter (bool disableKeyFilter) |
| True to disable input keystroke filtering (defaults to false). More...
|
|
virtual TBuilder | EmptyCls (string emptyCls) |
| The CSS class to apply to an empty field to style the emptyText (defaults to 'x-form-empty-field'). This class is automatically added and removed as needed depending on the current field value. More...
|
|
virtual TBuilder | EmptyText (string emptyText) |
| The default text to display in an empty field (defaults to null). More...
|
|
virtual TBuilder | EnableKeyEvents (bool enableKeyEvents) |
| True to enable the proxying of key events for the HTML input field (defaults to false) More...
|
|
virtual TBuilder | EnforceMaxLength (bool enforceMaxLength) |
| True to set the maxLength property on the underlying input field. Defaults to false More...
|
|
virtual TBuilder | Grow (bool grow) |
| True if this field should automatically grow and shrink to its content (defaults to false). More...
|
|
virtual TBuilder | GrowAppend (string growAppend) |
| 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 grow 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. More...
|
|
virtual TBuilder | GrowMax (int growMax) |
| The maximum width to allow when grow = true (defaults to 800). More...
|
|
virtual TBuilder | GrowMin (int growMin) |
| The minimum width to allow when grow = true (defaults to 30). More...
|
|
virtual TBuilder | MaskRe (string maskRe) |
| An input mask regular expression that will be used to filter keystrokes (character being typed) that do not match. Note: It dose not filter characters already in the input. More...
|
|
virtual TBuilder | MaxLength (int maxLength) |
| Maximum input field length allowed by validation (defaults to Number.MAX_VALUE). 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 enforceMaxLength option. More...
|
|
virtual TBuilder | MaxLengthText (string maxLengthText) |
| Error text to display if the maximum length validation fails (defaults to 'The maximum length for this field is {maxLength}'). More...
|
|
virtual TBuilder | MinLength (int minLength) |
| Minimum input field length required (defaults to 0). More...
|
|
virtual TBuilder | MinLengthText (string minLengthText) |
| Error text to display if the minimum length validation fails (defaults to 'The minimum length for this field is {minLength}'). More...
|
|
virtual TBuilder | Regex (string regex) |
| A JavaScript RegExp object to be tested against the field value during validation (defaults to undefined). If the test fails, the field will be marked invalid using regexText. More...
|
|
virtual TBuilder | RegexText (string regexText) |
| The error text to display if regex is used and the test fails during validation (defaults to ''). More...
|
|
virtual TBuilder | SelectOnFocus (bool selectOnFocus) |
| True to automatically select any existing field text when the field receives input focus (defaults to false). More...
|
|
virtual TBuilder | Size (int size) |
| An initial value for the 'size' attribute on the text input element. This is only used if the field has no configured width and is not given a width by its container's layout. Defaults to 20. More...
|
|
virtual TBuilder | StripCharsRe (string stripCharsRe) |
| A JavaScript RegExp object used to strip unwanted content from the value during input. If stripCharsRe is specified, every character sequence matching stripCharsRe will be removed. More...
|
|
virtual TBuilder | Validator (Action< JFunction > action) |
| A custom validation function to be called during field validation (getErrors) (defaults to undefined). If specified, this function will be called first, allowing the developer to override the default validation process. More...
|
|
virtual TBuilder | StandardVtype (ValidationType standardVtype) |
| A validation type name as defined in Ext.form.VTypes (defaults to null). More...
|
|
virtual TBuilder | Vtype (string vtype) |
| A validation type name as defined in Ext.form.VTypes (defaults to null). More...
|
|
virtual TBuilder | VtypeText (string vtypeText) |
| A custom error message to display in place of the default message provided for the vtype currently set for this field (defaults to ''). Only applies if vtype is set, else ignored. More...
|
|
| Builder () |
|
| Builder (Labelable component) |
|
| Builder (Labelable.Config config) |
|
| Builder (TItem item) |
|
virtual TItem | ToComponent () |
| Get the instance of the underlying StateManagedItem. More...
|
|
virtual TBuilder | CustomConfig (Action< ConfigItemCollection > action) |
| Collection of custom js config More...
|
|