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.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -3197,7 +3197,7 @@ const TextField = React.forwardRef(({ label, helperText, errorText, successText,
|
|
|
3197
3197
|
TextField.displayName = "TextField";
|
|
3198
3198
|
|
|
3199
3199
|
const defaultFilter = (item, query) => {
|
|
3200
|
-
const searchQuery = query
|
|
3200
|
+
const searchQuery = query?.toLowerCase();
|
|
3201
3201
|
return (item.label?.toLowerCase()?.includes(searchQuery) ||
|
|
3202
3202
|
(item.description?.toLowerCase()?.includes(searchQuery) ?? false));
|
|
3203
3203
|
};
|