Author Topic: Set Ext.form.ComboBox (select list) fields as editable:false  (Read 6838 times)

Murz

  • Full Member
  • ***
  • Posts: 147
    • View Profile
Set Ext.form.ComboBox (select list) fields as editable:false
« on: 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:
Code: [Select]
    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();
                }
        }
    });

Murz

  • Full Member
  • ***
  • Posts: 147
    • View Profile
Re: Set Ext.form.ComboBox (select list) fields as editable:false
« Reply #1 on: March 19, 2010, 04:29:33 am »
Problem is still here on 1.6.2 version.

Murz

  • Full Member
  • ***
  • Posts: 147
    • View Profile
Re: Set Ext.form.ComboBox (select list) fields as editable:false
« Reply #2 on: 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