Hybrid View
-
8 Apr 2010 5:54 AM #1
[FNR] ComboBox readonly problem
[FNR] ComboBox readonly problem
I'm creating a ComboBox using the following code:
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.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
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?
-
8 Apr 2010 6:12 AM #2
Fixed in SVN as of revision 2022
-
17 May 2010 9:12 AM #3
Hi. How could I see the code for this fix. I need to solve this issue as well. Thank you.
-
17 May 2010 9:35 AM #4
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.
-
17 May 2010 2:33 PM #5
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.
-
17 May 2010 11:59 PM #6
Unfortunately, You need to buy a subscription to have access to svn:
http://www.extjs.com/store/gwt/
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote