Sha256: 1d407d7ac4c393bc5b3a215a6f058f4a098b5cf50f3703538392ba858421376a

Contents?: true

Size: 662 Bytes

Versions: 3

Compression:

Stored size: 662 Bytes

Contents

Ext.define('FastUI.view.vfield.VText',{
    extend: 'Ext.form.field.TextArea',

    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/VText.js
fastui-0.1.7 app/assets/javascripts/fastui/app/view/vfield/VText.js
fastui-0.1.6 app/assets/javascripts/fastui/app/view/vfield/VText.js