@linzjs/step-ag-grid 28.3.0 → 28.4.0
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/package.json
CHANGED
package/src/components/Grid.tsx
CHANGED
|
@@ -756,11 +756,8 @@ export const Grid = <TData extends GridBaseRow = GridBaseRow>({
|
|
|
756
756
|
);
|
|
757
757
|
}}
|
|
758
758
|
quickFilterParser={(filterStr) => {
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
filterStr = filterStr.replace(/^"/, '').replace(/"$/, '');
|
|
762
|
-
// If the user encloses the search term in quotes, treat it as an exact match otherwise split by space
|
|
763
|
-
return quoted ? [filterStr] : filterStr.split(' ');
|
|
759
|
+
// filter is exact matches exactly groups separated by commas
|
|
760
|
+
return filterStr.split(',').map((str) => str.trim());
|
|
764
761
|
}}
|
|
765
762
|
onModelUpdated={onModelUpdated}
|
|
766
763
|
onGridReady={onGridReady}
|