Sha256: a974ed939667be0ba31956b53dec4112302e24bfd6c3a182d6388b460d160fd1

Contents?: true

Size: 656 Bytes

Versions: 3

Compression:

Stored size: 656 Bytes

Contents

Ext.define('FastUI.view.vfield.VString',{
    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') || 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/VString.js
fastui-0.1.7 app/assets/javascripts/fastui/app/view/vfield/VString.js
fastui-0.1.6 app/assets/javascripts/fastui/app/view/vfield/VString.js