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

Class Ext.form.TimeField

Package:Ext.form
Defined In:TimeField.js
Class:TimeField
Extends:ComboBox
* Provides a time input field with a time dropdown and automatic time validation. Example usage:
new Ext.form.TimeField({
    minValue: '9:00 AM',
    maxValue: '6:00 PM',
    increment: 30
});

Config Options

Config Options Defined By
  allQuery : String
The text query to send to the server to return all records for the list with no filtering (defaults to '')
ComboBox
  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
  blankText : String
Error text to display if the allow blank validation fails (defaults to "This field is required")
TextField
  disableKeyFilter : Boolean
True to disable input keystroke filtering (defaults to false)
TextField
  disabled : Boolean
Render this component disabled (default is false).
Component
  disabledClass : String
CSS class added to the component when it is disabled (defaults to "x-item-disabled").
Component
  editable : Boolean
False to prevent the user from typing text directly into the field, just like a traditional select (defaults to true)
ComboBox
  fieldClass : String
The default CSS class for the field (defaults to "x-form-field")
Field
  focusClass : String
The CSS class to use when the field receives focus (defaults to "x-form-focus")
Field
  handleHeight : Number
The height in pixels of the dropdown list resize handle if resizable = true (defaults to 8)
ComboBox
  height : Number
The height of this component in pixels (defaults to auto).
BoxComponent
  hidden : Boolean
Render this component hidden (default is false).
Component
  hideTrigger : Boolean
True to hide the trigger element and display only the base text field (defaults to false)
TriggerField
  increment : Number
The number of minutes between each time value in the list (defaults to 15).
TimeField
  invalidClass : String
The CSS class to use when marking a field invalid (defaults to "x-form-invalid")
Field
  invalidText : String
The error text to display when the time in the field is invalid (defaults to '{value} is not a valid time').
TimeField
  lazyInit : Boolean
True to not initialize the list for this combo until the field is focused (defaults to true)
ComboBox
  listAlign : String
A valid anchor position value. See Ext.Element.alignTo for details on supported anchor positions (defaults to 'tl-bl')
ComboBox
  listClass : String
CSS class to apply to the dropdown list element (defaults to '')
ComboBox
  listWidth : Number
The width in pixels of the dropdown list (defaults to the width of the ComboBox field)
ComboBox
  maskRe : RegExp
An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)
TextField
  maxHeight : Number
The maximum height in pixels of the dropdown list before scrollbars are shown (defaults to 300)
ComboBox
  maxLength : Number
Maximum input field length allowed (defaults to Number.MAX_VALUE)
TextField
  minLength : Number
Minimum input field length required (defaults to 0)
TextField
  minListWidth : Number
The minimum width of the dropdown list in pixels (defaults to 70, will be ignored if listWidth has a higher value)
ComboBox
  mode : String
Set to 'local' if the ComboBox loads local data (defaults to 'remote' which loads from the server)
ComboBox
  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 (defaults to "").
Field
  pageX : Number
The page level x coordinate for this component if contained within a positioning container.
BoxComponent
  pageY : Number
The page level y coordinate for this component if contained within a positioning container.
BoxComponent
  queryParam : String
Name of the query as it will be passed on the querystring (defaults to 'query')
ComboBox
  regexText : String
The error text to display if regex is used and the test fails during validation (defaults to "")
TextField
  resizable : Boolean
True to add a resize handle to the bottom of the dropdown list (defaults to false)
ComboBox
  selectOnFocus : Boolean
True to automatically select any existing field text when the field receives input focus (defaults to false)
TextField
  selectedClass : String
CSS class to apply to the selected item in the dropdown list (defaults to 'x-combo-selected')
ComboBox
  shadow : Boolean/String
True or "sides" for the default effect, "frame" for 4-way shadow, and "drop" for bottom-right
ComboBox
  stripCharsRe : RegExp
A JavaScript RegExp object used to strip unwanted content from the value before validation (defaults to null).
TextField
  triggerClass : String
A CSS class to apply to the trigger
TriggerField
  typeAheadDelay : Number
The length of time in milliseconds to wait until the typeahead text is displayed if typeAhead = true (defaults to 250)
ComboBox
  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 (defaults to undefined).
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
  x : Number
The local x (left) coordinate for this component if contained within a positioning container.
BoxComponent
  y : Number
The local y (top) coordinate for this component if contained within a positioning container.
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
  lastQuery : String
The value of the match string used to filter the store. Delete this property to force a requery.
ComboBox
  rendered : Boolean
True if this component has been rendered. Read-only.
Component
  view : Ext.DataView
The DataView used to display the ComboBox's options.
ComboBox

Public Methods

Method Defined By

Public Events

Event Defined By