@danielgindi/selectbox 1.0.44 → 1.0.45

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.44
2
+ * @danielgindi/selectbox 1.0.45
3
3
  * git://github.com/danielgindi/selectbox.git
4
4
  */
5
5
  import { createElement, closestUntil, setElementAttrs, next, prev } from '@danielgindi/dom-utils/lib/Dom';
@@ -1909,8 +1909,8 @@ class DropList {
1909
1909
  this._trigger('check', {
1910
1910
  value: next.value,
1911
1911
  item: next[ItemSymbol$1] ?? next,
1912
- checked: item._checked,
1913
- isGroup: item._group,
1912
+ checked: next._checked,
1913
+ isGroup: next._group,
1914
1914
  isCheckingGroup: true,
1915
1915
  });
1916
1916
  }
@@ -1981,8 +1981,8 @@ class DropList {
1981
1981
  this._trigger('check', {
1982
1982
  value: groupItem.value,
1983
1983
  item: groupItem[ItemSymbol$1] ?? groupItem,
1984
- checked: item._checked,
1985
- isGroup: item._group,
1984
+ checked: groupItem._checked,
1985
+ isGroup: groupItem._group,
1986
1986
  isCheckingGroup: false,
1987
1987
  });
1988
1988
  }