@danielgindi/selectbox 1.0.111 → 1.0.112

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/lib.cjs.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @danielgindi/selectbox 1.0.111
2
+ * @danielgindi/selectbox 1.0.112
3
3
  * git://github.com/danielgindi/selectbox.git
4
4
  */
5
5
  'use strict';
@@ -3200,7 +3200,7 @@ class SelectBox {
3200
3200
 
3201
3201
  if (multi &&
3202
3202
  p.selectedValues &&
3203
- p.selectedValues.length === 0 &&
3203
+ p.selectedValues.length === 1 &&
3204
3204
  Array.isArray(p.selectedValues[0][p.valueProp])) {
3205
3205
  this.setSelectedValues( /**@type Array*/p.selectedValues[0][p.valueProp]);
3206
3206
  }