Sha256: b184cf69b75767008589cc98fa76f922b517145933add3315e39b9aceabbd320

Contents?: true

Size: 567 Bytes

Versions: 1

Compression:

Stored size: 567 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');
        this.allowBlank = true;
        this.vtype = this.getFValue('vtype');
        this.callParent();
    },
    getFValue:function (key) {
        return this.valueObject[key];
    }
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fastui-0.1.4 app/assets/javascripts/fastui/app/view/vfield/VNumber.js