@danielgindi/selectbox 1.0.112 → 1.0.114

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.112
2
+ * @danielgindi/selectbox 1.0.114
3
3
  * git://github.com/danielgindi/selectbox.git
4
4
  */
5
5
  'use strict';
@@ -3201,8 +3201,8 @@ class SelectBox {
3201
3201
  if (multi &&
3202
3202
  p.selectedValues &&
3203
3203
  p.selectedValues.length === 1 &&
3204
- Array.isArray(p.selectedValues[0][p.valueProp])) {
3205
- this.setSelectedValues( /**@type Array*/p.selectedValues[0][p.valueProp]);
3204
+ Array.isArray(p.selectedValues[0])) {
3205
+ this.setSelectedValues( /**@type Array*/p.selectedValues[0]);
3206
3206
  }
3207
3207
 
3208
3208
  this._scheduleSync('full');