@danielgindi/selectbox 1.0.112 → 1.0.113

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/lib/SelectBox.js CHANGED
@@ -956,8 +956,8 @@ class SelectBox {
956
956
  if (multi &&
957
957
  p.selectedValues &&
958
958
  p.selectedValues.length === 1 &&
959
- Array.isArray(p.selectedValues[0][p.valueProp])) {
960
- this.setSelectedValues(/**@type Array*/p.selectedValues[0][p.valueProp]);
959
+ Array.isArray(p.selectedValues[0])) {
960
+ this.setSelectedValues(/**@type Array*/p.selectedValues[0]);
961
961
  }
962
962
 
963
963
  this._scheduleSync('full');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielgindi/selectbox",
3
- "version": "1.0.112",
3
+ "version": "1.0.113",
4
4
  "description": "A collection of dom utilities. So you can work natively with the dom without dom frameworks.",
5
5
  "main": "dist/lib.cjs.min.js",
6
6
  "module": "lib/index.js",