@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.cjs.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
  'use strict';
@@ -4466,6 +4466,8 @@ class SelectBox {
4466
4466
  });
4467
4467
  };
4468
4468
  }
4469
+
4470
+ p.actualFilterFn = fn;
4469
4471
  p.dropList?.setFilterFn(fn);
4470
4472
  return this;
4471
4473
  }
@@ -5069,8 +5071,8 @@ class SelectBox {
5069
5071
  filterThrottleWindow: p.filterThrottleWindow,
5070
5072
  filterOnEmptyTerm: p.filterOnEmptyTerm,
5071
5073
  filterGroups: p.treatGroupSelectionAsItems,
5072
- filterEmptyGroups: p.treatGroupSelectionAsItems,
5073
- filterFn: p.filterFn,
5074
+ filterEmptyGroups: !p.treatGroupSelectionAsItems,
5075
+ filterFn: p.actualFilterFn,
5074
5076
 
5075
5077
  positionOptionsProvider: () => this._getDropListPositionOptions(),
5076
5078