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:
committed by
Facebook GitHub Bot
parent
4cc03ef4b2
commit
3ff0c301c8
@@ -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,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user