Hybrid View

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    Dec 2009
    Posts
    11
    Vote Rating
    0
    david.santos is on a distinguished road

      0  

    Exclamation [FNR] ComboBox readonly problem

    [FNR] ComboBox readonly problem


    I'm creating a ComboBox using the following code:

    Code:
    ComboBox combo = new ComboBox<BeanModel>();
    combo.setFieldLabel("Some Combo");
    combo.setEmptyText("Select a value");
    combo.setTypeAhead(true);
    combo.setTriggerAction(TriggerAction.ALL);
    combo.setDisplayField("name");
    combo.setReadOnly(true);
    
    ListStore<BeanModel> store = new ListStore<BeanModel>();
    store.setSortField("name");
    store.setStoreSorter(new StoreSorter<D>());
    combo.setStore(store);
    
    // Fill the ComboBox with some values
    Now because I've set the readonly flag to true I cannot click de drop down arrow and change the selected value of the ComboBox. So far so good. But if I put the mouse's cursor in the ComboBox, press the backspace key once and wait a few seconds, the ComboBox shows me all of its values and I can even select another value.

    I think its a bug.
    Could I be mistaken?

    Besides this problem, have you considered not showing the drop down arrow of the ComboBox when its readonly? Same with the date picker on the DateField?

  2. #2
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Fixed in SVN as of revision 2022

  3. #3
    Ext User
    Join Date
    Jun 2008
    Posts
    3
    Vote Rating
    0
    rubendaddario is on a distinguished road

      0  

    Default


    Hi. How could I see the code for this fix. I need to solve this issue as well. Thank you.

  4. #4
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    It is fixed in SVN. Get the fix out of SVN if you need to fix now. Else you need to wait for the next release.

  5. #5
    Ext User
    Join Date
    Jun 2008
    Posts
    3
    Vote Rating
    0
    rubendaddario is on a distinguished road

      0  

    Default


    Thanks sure, I would do it if I knew how to get access to the SVN. I cannot find the repo anywhere.
    Could you please tell me where could I find it?

    Thanks again.

  6. #6
    Sencha User
    Join Date
    Nov 2008
    Location
    Vienna - Austria
    Posts
    867
    Vote Rating
    1
    micgala is on a distinguished road

      0  

    Default


    Unfortunately, You need to buy a subscription to have access to svn:
    http://www.extjs.com/store/gwt/