Sha256: dcb64abe61914d04ae3f8aa4c6eda06db9322a494710dfc1c2845f686418219c

Contents?: true

Size: 581 Bytes

Versions: 1

Compression:

Stored size: 581 Bytes

Contents

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