@danielgindi/selectbox 2.0.5 → 2.0.6

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.umd.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @danielgindi/selectbox 2.0.5
2
+ * @danielgindi/selectbox 2.0.6
3
3
  * git://github.com/danielgindi/selectbox.git
4
4
  */
5
5
  (function (global, factory) {
@@ -4462,6 +4462,8 @@
4462
4462
  });
4463
4463
  };
4464
4464
  }
4465
+
4466
+ p.actualFilterFn = fn;
4465
4467
  p.dropList?.setFilterFn(fn);
4466
4468
  return this;
4467
4469
  }
@@ -5065,8 +5067,8 @@
5065
5067
  filterThrottleWindow: p.filterThrottleWindow,
5066
5068
  filterOnEmptyTerm: p.filterOnEmptyTerm,
5067
5069
  filterGroups: p.treatGroupSelectionAsItems,
5068
- filterEmptyGroups: p.treatGroupSelectionAsItems,
5069
- filterFn: p.filterFn,
5070
+ filterEmptyGroups: !p.treatGroupSelectionAsItems,
5071
+ filterFn: p.actualFilterFn,
5070
5072
 
5071
5073
  positionOptionsProvider: () => this._getDropListPositionOptions(),
5072
5074