Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

1.3.1, see CHANGELOG.txt for details

  • Loading branch information...
commit 864a79f54cf71812764d4f71c994e35027776d0a 1 parent b6eca5c
@kveeiv authored
Showing with 3 additions and 4 deletions.
  1. +2 −1  CHANGELOG.txt
  2. +1 −3 src/BoxSelect.js
View
3  CHANGELOG.txt
@@ -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
4 src/BoxSelect.js
@@ -1034,7 +1034,7 @@ 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)) {
@@ -1042,9 +1042,7 @@ Ext.define('Ext.ux.form.field.BoxSelect', {
}
valueStore.resumeEvents();
valueStore.fireEvent('datachanged', valueStore);
- }
- if (!me.isEqual(newValue, lastValue)) {
me.lastValue = newValue;
me.fireEvent('change', me, newValue, lastValue);
me.onChange(newValue, lastValue)
Please sign in to comment.
Something went wrong with that request. Please try again.