0

How do i disable autocomplete on Ext.form.ComboBox? When the user type, i want the combobox to perform like a normal textbox.

I tried these settings but autocomplete still popping up.

  this.searchFieldBox = new Ext.form.ComboBox({
        triggerAction: 'all',
        disableKeyFilter: true,
        store: this.searchStore,
        displayField: 'Value',
        autoSelect: false,
        fieldLabel: htmlHelpObject(me.id, this.Name),
        labelSeparator: '',
        labelCls: 'sectionLabel2',
        emptyText: 'Enter a search term',
        width: 500,
        labelWidth: 160,
        margin: "0 2 0 0",
        validateOnBlur: false,
        validateOnChange: false,
ove
  • 3,092
  • 6
  • 34
  • 51
  • Settings minChers to a large number works but i don't like this hack. – ove Feb 20 '13 at 05:21
  • why do you want to do that – Arun P Johny Feb 20 '13 at 05:34
  • The user does not like it. Any idea if it is possible? – ove Feb 20 '13 at 05:42
  • Then why do you want to use a combobox, From what I've seen it is not possible – Arun P Johny Feb 20 '13 at 05:44
  • 2
    If you want help it is not useful to downvote a answer if it is possible that your question didn't made it clear and without giving the answerer a chance to update the answer. There is a solution for this but I think you will find it yourself ;) – sra Feb 20 '13 at 09:21

1 Answers1

1

That is not that hard. typeAhead need to be off.

typeAhead: false

See this JSFiddle example for on/off

sra
  • 23,820
  • 7
  • 55
  • 89