Sha256: 0274cfb2bdf15c70b0ab111a1a437c94efe4985b9bf917aee9befb24b534f9fa

Contents?: true

Size: 520 Bytes

Versions: 2

Compression:

Stored size: 520 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.callParent();
    },
    getFValue:function (key) {
        return this.valueObject[key];
    }
});

Version data entries

2 entries across 2 versions & 1 rubygems

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