Use exact mode when user explicitly filters on a column

Summary: Using substring doesnt make sense for these actions. As you say I want to filer on this cell but it includes many others

Reviewed By: aigoncharov

Differential Revision: D48515476

fbshipit-source-id: b7a77c022052bb33e2ce2a3f656dabab114d8a78
This commit is contained in:
Luke De Feo
2023-08-21 05:59:44 -07:00
committed by Facebook GitHub Bot
parent 4cc03ef4b2
commit 3ff0c301c8

View File

@@ -353,6 +353,7 @@ export const dataTableManagerReducer = produce<
getValueAtPath(item, String(action.column)), getValueAtPath(item, String(action.column)),
{ {
disableOthers: index === 0, // remove existing filters before adding the first disableOthers: index === 0, // remove existing filters before adding the first
exact: true,
}, },
); );
}); });