Sha256: 91af1e1d9b2a04a74dd96e20ef7b25423ddba6672236ce89225f201b8491e5cd

Contents?: true

Size: 584 Bytes

Versions: 1

Compression:

Stored size: 584 Bytes

Contents

Ext.define('FastUI.view.vfield.VBoolean',{
    extend: 'Ext.form.field.Checkbox',
    valueObject: {},
    winCtx:{},
    winId:0,
    rest:{},

    inputValue: 'true',
    uncheckedValue: 'false',
    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

1 entries across 1 versions & 1 rubygems

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