Feng Forum

Other Topics => Feature requests => : Murz December 18, 2009, 11:12:19 AM

: Set Ext.form.ComboBox (select list) fields as editable:false
: Murz December 18, 2009, 11:12:19 AM
For change the value fo ComboBox (select list) I need to click on the arrow, because if I click on the text in field, I can type something.
I think that we need to change all read-only ComboBoxes to editable:false for opening items via click on the text, not only on arrows.
Example for TasksBottomToolbar.js:
:
    this.statusCombo = new Ext.form.ComboBox({
            id: 'ogTasksStatusCombo',
        store: new Ext.data.SimpleStore({
                fields: ['value', 'text'],
                data : [[2, lang('all')],[0, lang('pending')],[1, lang('complete')]]
            }),
        displayField:'text',
        typeAhead: true,
        mode: 'local',
        triggerAction: 'all',
        selectOnFocus:true,
+        editable:false,
        width:80,
        valueField: 'value',
        listeners: {
                'select' : function(combo, record) {
                                var toolbar = Ext.getCmp('tasksPanelBottomToolbarObject');
                        toolbar.load();
                }
        }
    });
: Re: Set Ext.form.ComboBox (select list) fields as editable:false
: Murz March 19, 2010, 04:29:33 AM
Problem is still here on 1.6.2 version.
: Re: Set Ext.form.ComboBox (select list) fields as editable:false
: Murz August 02, 2010, 09:31:04 AM
Problem is still here. I create the bug report: http://www.fengoffice.com/web/bugs/view.php?id=69