ywana-core8 0.0.744 → 0.0.745

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.cjs CHANGED
@@ -6304,7 +6304,7 @@ var CollectionTree = function CollectionTree(props) {
6304
6304
  function search() {
6305
6305
  var items = filter ? all.filter(function (item) {
6306
6306
  var result = searchBy.some(function (fieldName) {
6307
- var value = item[fieldName];
6307
+ var value = item[fieldName] ? item[fieldName].toUpperCase() : "";
6308
6308
  return value ? value.indexOf(filter.toUpperCase()) >= 0 : false;
6309
6309
  });
6310
6310
  return result;