ComboBox Cannot Be Modified Once Item Selected

By admin | July 3, 2009

  • I'm sure there's a simple fix for this that I'm overlooking. I have a combobox that has editable set to false. When the client clicks the dropdown arrow and selects a value, and then clicks it AGAIN to try to change the value, the box shows only the selected value because the current selected value is filtering out all other values and since editable is set to false, the value cannot be removed. Thus, I've ended up with a combo box that once you select a value, you're stuck with it. How can I make it to where no matter what value is selected, all values still show once the dropdown arrow is clicked again?

    Code Excerpt:
    xtype : 'combo',
    editable : false,
    forceSelection: true,
    mode : 'local',
    valueField : 'value',
    displayField : 'email',
    emptyText : 'Select Your Email Address',
    disableKeyFilter : true,
    store : ._selecRecipientStore

    Thanks for your help!
    Dan


  • Add "triggerAction: 'all'" to its config.


  • Shaweet! That did the trick. Thanks!

    ~Dan







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about ComboBox Cannot Be Modified Once Item Selected , Please add it free.

    Topics: enart.zjbr.com | edit

    Why can not the checkbox get the focus? Need help on combo box selection