Sha256: eb702a2bc2ea381599b17469b0731106813fb27abeee3e3d8bcef755061b8791

Contents?: true

Size: 678 Bytes

Versions: 3

Compression:

Stored size: 678 Bytes

Contents

Ext.define('FastUI.view.vfield.VDate',{
    extend: 'Ext.form.field.Date',
    format: 'Y-m-d',
    valueObject: {},
    winCtx:{},
    winId:0,
    rest:{},

    initComponent:function(){
        this.fieldLabel = this.getFValue('title');
        this.name =  this.rest.getTableName() + '[' + this.getFValue('name') + ']';
        this.disabled = this.getFValue('readonly') || false;
        this.allowBlank = this.getFValue('required') || true;
        this.width = this.getFValue('width') || 650;
        this.vtype = this.getFValue('vtype');
        this.callParent();
    },
    getFValue:function (key) {
        return this.valueObject[key];
    }
});

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fastui-0.1.8 app/assets/javascripts/fastui/app/view/vfield/VDate.js
fastui-0.1.7 app/assets/javascripts/fastui/app/view/vfield/VDate.js
fastui-0.1.6 app/assets/javascripts/fastui/app/view/vfield/VDate.js