Properties Methods Events Config Options Direct Link
Observable
  Component
    BoxComponent
      Field
        TextField
          TriggerField
            DateField

Class Ext.form.DateField

Package:Ext.form
Defined In:DateField.js
Class:DateField
Extends:TriggerField
Provides a date input field with a Ext.DatePicker dropdown and automatic date validation.

Config Options

Config Options Defined By
  allowBlank : Boolean
False to validate that the value length > 0 (defaults to true)
TextField
  allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
  autoHeight : Boolean
True to use height:'auto', false to use fixed height (defaults to false).
BoxComponent
  autoWidth : Boolean
True to use width:'auto', false to use fixed width (defaults to false).
BoxComponent
  blankText : String
Error text to display if the allow blank validation fails (defaults to "This field is required")
TextField
  clearCls : String
The CSS class used to provide field clearing (defaults to 'x-form-clear-left')
Field
  disableKeyFilter : Boolean
True to disable input keystroke filtering (defaults to false)
TextField
  disabled : Boolean
True to disable the field (defaults to false).
Field
  disabledClass : String
CSS class added to the component when it is disabled (defaults to "x-item-disabled").
Component
  disabledDatesText : String
The tooltip text to display when the date falls on a disabled date (defaults to 'Disabled')
DateField
  disabledDays : Array
An array of days to disable, 0 based. For example, [0, 6] disables Sunday and Saturday (defaults to null).
DateField
  disabledDaysText : String
The tooltip to display when the date falls on a disabled day (defaults to 'Disabled')
DateField
  emptyText : String
The default text to display in an empty field (defaults to null).
TextField
  fieldClass : String
The default CSS class for the field (defaults to "x-form-field")
Field
  fieldLabel : String
The label text to display next to this field (defaults to '')
Field
  focusClass : String
The CSS class to use when the field receives focus (defaults to "x-form-focus")
Field
  height : Number
The height of this component in pixels (defaults to auto).
BoxComponent
  hideLabel : Boolean
True to completely hide the label element (defaults to false)
Field
  hideTrigger : Boolean
True to hide the trigger element and display only the base text field (defaults to false)
TriggerField
  id : String
The unique id of this component (defaults to an auto-assigned id).
Component
  inputType : String
The type attribute for input fields -- e.g. radio, text, password (defaults to "text").
Field
  invalidClass : String
The CSS class to use when marking a field invalid (defaults to "x-form-invalid")
Field
  itemCls : String
An additional CSS class to apply to this field (defaults to the container's itemCls value if set, or '')
Field
  maskRe : RegExp
An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)
TextField
  maxLength : Number
Maximum input field length allowed (defaults to Number.MAX_VALUE)
TextField
  maxValue : Date/String
The maximum allowed date. Can be either a Javascript date object or a string date in a valid format (defaults to null).
DateField
  minLength : Number
Minimum input field length required (defaults to 0)
TextField
  minValue : Date/String
The minimum allowed date. Can be either a Javascript date object or a string date in a valid format (defaults to null).
DateField
  msgFx : String
Experimental The effect used when displaying a validation message under the field (defaults to 'normal').
Field
  name : String
The field's HTML name attribute.
Field
  regexText : String
The error text to display if regex is used and the test fails during validation (defaults to "")
TextField
  selectOnFocus : Boolean
True to automatically select any existing field text when the field receives input focus (defaults to false)
TextField
  stateId : String
The unique id for this component to use for state management purposes (defaults to the component id).
Component
  validateOnBlur : Boolean
Whether the field should validate when it loses focus (defaults to true).
Field
  validationDelay : Number
The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)
Field
  validationEvent : String/Boolean
The event that should initiate field validation. Set to false to disable automatic validation (defaults to "keyup").
Field
  value : Mixed
A value to initialize this field with.
Field
  vtype : String
A validation type name as defined in Ext.form.VTypes (defaults to null)
TextField
  width : Number
The width of this component in pixels (defaults to auto).
BoxComponent

Public Properties

Property Defined By
  disabled : Boolean
True if this component is disabled. Read-only.
Component
  hidden : Boolean
True if this component is hidden. Read-only.
Component
  initialConfig : Object
This Component's initial configuration specification. Read-only.
Component
  rendered : Boolean
True if this component has been rendered. Read-only.
Component

Public Methods

Method Defined By

Public Events

Event Defined By