Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTGWT-3142
in
2.3.1.
-
Sencha User
Ah, we're possibly talking about extending different classes. I am extending the ComboBox class, so super would call the getValue() method of the ComboBox class, not the Field class. And since the problem lies within the ComboBox class, I can't get around it.
-
Ext GWT Premium Member
No, I'm talking about extending ComboBox and then replace the call to super with the code I'd showed you (which is from ComboxBox's parent class Field).
-
Sencha User
Ah, understood, thanks. That seemed to work great. The only thing I had to comment out (because it was a private member variable) was the following:
Code:
if (!initialized) {
return value;
}
-
Ext GWT Premium Member
Hopefully we will see this fix in the future, but my guess is it will be a while till 2.2.6 comes...
-
Ext GWT Premium Member
Hi Darrell / Sven,
Could you add this patch to the source for 2.2.6/7 as we are still using this version and it's awkward to always have to rebuild from source. I raised this some time ago and it will tide us over till we move to GXT3
Code:
Index: ComboBox.java
===================================================================
--- ComboBox.java (revision 2488)
+++ ComboBox.java (working copy)
@@ -551,7 +551,7 @@
return value;
}
if (store != null) {
- store.clearFilters();
+ // store.clearFilters(); // GXT Bug Filtered suggestions reset on form validate when forceSelection = true
getPropertyEditor().setList(store.getModels());
}
Thanks.
-
Ext GWT Premium Member
Yes, in the same boat here - would be great if this patch could be applied.
Thanks
Eugene
-
Ext GWT Premium Member
Sencha team, I saw a recent post that said a 2.3 release is due soon, so would you consider fixing this bug? You just need to comment out one line (554) in ComboBox.java.
We have been running patched code for 6 months now so I believe it's a safe fix.
Carl.
-
Ext GWT Premium Member
To anyone following this issue - this fix was not includes with the 2.3 release.
-
Ext GWT Premium Member
-
Sencha - Support Team
Thanks for the report! I have opened a bug in our bug tracker.