@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/lib/SelectBox.js CHANGED
@@ -955,7 +955,7 @@ class SelectBox {
955
955
 
956
956
  if (multi &&
957
957
  p.selectedValues &&
958
- p.selectedValues.length === 0 &&
958
+ p.selectedValues.length === 1 &&
959
959
  Array.isArray(p.selectedValues[0][p.valueProp])) {
960
960
  this.setSelectedValues(/**@type Array*/p.selectedValues[0][p.valueProp]);
961
961
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielgindi/selectbox",
3
- "version": "1.0.111",
3
+ "version": "1.0.112",
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",