infinity-ui-elements 1.8.25 → 1.8.26

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.js CHANGED
@@ -3218,7 +3218,7 @@ const TextField = React__namespace.forwardRef(({ label, helperText, errorText, s
3218
3218
  TextField.displayName = "TextField";
3219
3219
 
3220
3220
  const defaultFilter = (item, query) => {
3221
- const searchQuery = query.toLowerCase();
3221
+ const searchQuery = query?.toLowerCase();
3222
3222
  return (item.label?.toLowerCase()?.includes(searchQuery) ||
3223
3223
  (item.description?.toLowerCase()?.includes(searchQuery) ?? false));
3224
3224
  };