Thank you for reporting this bug. We will make it our priority to review this report.
-
Ext User
[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?
-
Fixed in SVN as of revision 2022
-
Ext User
Hi. How could I see the code for this fix. I need to solve this issue as well. Thank you.
-
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.
-
Ext User
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.
-
Sencha Premium User
Unfortunately, You need to buy a subscription to have access to svn:
http://www.extjs.com/store/gwt/
-
Sencha User
I am having this issue in 2.2.4. Are you sure that its fixed?
-