@apipass/inputs 0.2.1 → 0.2.3

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.
@@ -1233,8 +1233,10 @@
1233
1233
  };
1234
1234
  // @ts-ignore
1235
1235
  SelectBoxComponent.prototype.onScroll = function (_c) {
1236
+ var _this = this;
1236
1237
  var end = _c.end;
1237
- if (this.loading || this.data.length <= this.visibleItens.length) {
1238
+ var data = this.lastSearchTerm ? this.data.filter(function (item) { var _a; return (_a = item[_this.bindValue]) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes(_this.lastSearchTerm.toLowerCase()); }) : this.data;
1239
+ if (this.loading || data.length <= this.visibleItens.length) {
1238
1240
  return;
1239
1241
  }
1240
1242
  if (end + 5 >= this.visibleItens.length) {