@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.es6.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
  import { createElement, closestUntil, setElementAttrs, next, prev } from '@danielgindi/dom-utils/lib/Dom';
@@ -3198,7 +3198,7 @@ class SelectBox {
3198
3198
 
3199
3199
  if (multi &&
3200
3200
  p.selectedValues &&
3201
- p.selectedValues.length === 0 &&
3201
+ p.selectedValues.length === 1 &&
3202
3202
  Array.isArray(p.selectedValues[0][p.valueProp])) {
3203
3203
  this.setSelectedValues(/**@type Array*/p.selectedValues[0][p.valueProp]);
3204
3204
  }