Sha256: 742e1a99668f85d5be3bb0fe3f4bbe705893875786a5950dee29bc1dc2557181

Contents?: true

Size: 758 Bytes

Versions: 5

Compression:

Stored size: 758 Bytes

Contents

Ext.define('FastUI.view.vfield.VSexSelect',{
    extend: 'Ext.form.RadioGroup',
    valueObject: {},
    winCtx:{},
    winId:0,
    rest:{},

    width:300,

    initComponent:function(){
        this.fieldLabel = this.getFValue('title');
        this.disabled = this.getFValue('readonly');
        this.allowBlank = true;
        this.items = [
            { boxLabel: '男', name: this.rest.getTableName() + '[' + this.getFValue('name') + ']', inputValue: 'true', width:100 },
            { boxLabel: '女', name: this.rest.getTableName() + '[' + this.getFValue('name') + ']', inputValue: 'false', width:100 }
        ];
        this.callParent();
    },
    getFValue:function (key) {
        return this.valueObject[key];
    }
});

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fastui-0.1.8 app/assets/javascripts/fastui/app/view/vfield/VSexSelect.js
fastui-0.1.7 app/assets/javascripts/fastui/app/view/vfield/VSexSelect.js
fastui-0.1.6 app/assets/javascripts/fastui/app/view/vfield/VSexSelect.js
fastui-0.1.4 app/assets/javascripts/fastui/app/view/vfield/VSexSelect.js
fastui-0.1.3 app/assets/javascripts/fastui/app/view/vfield/VSexSelect.js