Sha256: 534229590fca97163571350d9cb0efba9c31d60181f3d6344317c1971eeed2ba

Contents?: true

Size: 514 Bytes

Versions: 2

Compression:

Stored size: 514 Bytes

Contents

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