ywana-core8 0.0.141 → 0.0.142

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/index.umd.js CHANGED
@@ -980,8 +980,9 @@
980
980
  if (canShow) {
981
981
  var filterActive = canFilter && label && label.length > 0;
982
982
  var items = filterActive ? options.filter(function (option) {
983
- return canFilter === false || label.toUpperCase().indexOf(option.label.toUpperCase()) >= 0;
983
+ return label.toUpperCase().indexOf(option.label.toUpperCase()) >= 0;
984
984
  }) : options;
985
+ console.log('filterActive: ', filterActive, label, items.length);
985
986
  var lis = items.map(function (option) {
986
987
  return /*#__PURE__*/React__default["default"].createElement("li", {
987
988
  key: option.value,