Sha256: 8f9d3c49107a16a6ddad595377e151d61dd1daf8016b92eaf62ebcf557c31586

Contents?: true

Size: 660 Bytes

Versions: 3

Compression:

Stored size: 660 Bytes

Contents

Ext.define('FastUI.view.vfield.VNumber',{
    extend: 'Ext.form.field.Number',
    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/VNumber.js
fastui-0.1.7 app/assets/javascripts/fastui/app/view/vfield/VNumber.js
fastui-0.1.6 app/assets/javascripts/fastui/app/view/vfield/VNumber.js