Sha256: c956444c0d3ed9448b15a391452bc9af91dc14090e53702aad0b3442524d78ce

Contents?: true

Size: 688 Bytes

Versions: 3

Compression:

Stored size: 688 Bytes

Contents

Ext.define('FastUI.view.vfield.VInteger',{
    extend: 'Ext.form.field.Number',
    valueObject: {},
    winCtx:{},
    winId:0,
    rest:{},

    allowDecimals: false,
    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/VInteger.js
fastui-0.1.7 app/assets/javascripts/fastui/app/view/vfield/VInteger.js
fastui-0.1.6 app/assets/javascripts/fastui/app/view/vfield/VInteger.js