|
@ -209,18 +209,14 @@ Ext.define('Ext.ux.form.field.DateTime', { |
|
|
}); |
|
|
}); |
|
|
me.items.push(me.colon); |
|
|
me.items.push(me.colon); |
|
|
|
|
|
|
|
|
me.minuteField = Ext.create('Ext.form.field.Number', { |
|
|
me.minuteField = Ext.create('Ext.form.field.Text', { |
|
|
validateOnBlur: false, |
|
|
|
|
|
maxWidth: 30, |
|
|
maxWidth: 30, |
|
|
allowBlank: false, |
|
|
allowBlank: false, |
|
|
allowOnlyWhitespace: false, |
|
|
allowOnlyWhitespace: false, |
|
|
blankText: "Minutes cannot be blank.", |
|
|
blankText: "Minutes cannot be blank.", |
|
|
allowDecimals: false, |
|
|
regex: /[012345]\d/, |
|
|
maxValue: 59, |
|
|
|
|
|
minValue: 0, |
|
|
|
|
|
maxLength: 2, |
|
|
maxLength: 2, |
|
|
enforceMaxLength: 2, |
|
|
enforceMaxLength: 2, |
|
|
hideTrigger: true, |
|
|
|
|
|
submitValue:false, |
|
|
submitValue:false, |
|
|
flex:1, |
|
|
flex:1, |
|
|
isFormField:false, //exclude from field query's
|
|
|
isFormField:false, //exclude from field query's
|
|
|