Sha256: 9b44a6a016ced0029ce21f4b777d894f7f23d1fa42f89204ab3dd8ccd3584049

Contents?: true

Size: 552 Bytes

Versions: 3

Compression:

Stored size: 552 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('m_property').name + ']';
        this.disabled = this.getFValue('is_readonly');
        this.allowBlank = true;
        this.callParent();
    },
    getFValue:function (key) {
        return this.valueObject[key];
    }
});

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fastui-0.1.4 app/assets/javascripts/fastui/app/view/vfield/VDate.js
fastui-0.1.3 app/assets/javascripts/fastui/app/view/vfield/VDate.js
fastui-0.1.2 app/assets/javascripts/fastui/app/view/vfield/VDate.js