1
0
mirror of https://github.com/fspc/BikeShed-1.git synced 2025-04-04 05:33:22 -04:00

Boom! Meridian time component

This commit is contained in:
Jason Denney 2013-11-03 07:22:57 -05:00
parent d983647e29
commit 25808eb27a

View File

@ -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