Permalink
Browse files

1.3.1, see CHANGELOG.txt for details

  • Loading branch information...
1 parent b6eca5c commit 864a79f54cf71812764d4f71c994e35027776d0a @kveeiv committed Oct 29, 2011
Showing with 3 additions and 4 deletions.
  1. +2 −1 CHANGELOG.txt
  2. +1 −3 src/BoxSelect.js
View
@@ -7,6 +7,7 @@ Enhancements:
Bug Fixes:
* Soothed the aggressive clearing of emptyText that would clear query values
* Fixed misalignment of picker after store load in some scenarios
+* Fixed single select tracking of proper value labels
Documentation:
* Fixed server side parsing of remote store example to use queries
* Added example template configurations to remote store example
@@ -93,4 +94,4 @@ v0.2 - 27 May 2011
* Change to use default value setting if store is unfiltered
v0.1 - 25 May 2011
-* Initial release
+* Initial release
View
@@ -1034,17 +1034,15 @@ Ext.define('Ext.ux.form.field.BoxSelect', {
return val;
}, this).join(this.delimiter);
- if (valueStore.getCount() != me.valueModels.length) {
+ if (!me.isEqual(newValue, lastValue)) {
valueStore.suspendEvents();
valueStore.removeAll();
if (Ext.isArray(me.valueModels)) {
valueStore.add(me.valueModels);
}
valueStore.resumeEvents();
valueStore.fireEvent('datachanged', valueStore);
- }
- if (!me.isEqual(newValue, lastValue)) {
me.lastValue = newValue;
me.fireEvent('change', me, newValue, lastValue);
me.onChange(newValue, lastValue)

0 comments on commit 864a79f

Please sign in to comment.