Column: FilterMatchModeOptions example
I'm submitting a ... (check one with "x")
[ x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57
Codesandbox Case (Bug Reports) https://codesandbox.io/s/primereact-dialog-dropdown-issue-forked-ycg9td?file=/src/App.tsx
Current behavior Can not compile code when trying to use custom filterMatchModeOptions
Expected behavior Code to be compiled without errors and options to be rendered
Minimal reproduction of the problem with instructions Use primereact version 7.2.1 => recreate code from codeSandbox Code cant be compiled
Please tell us about your environment:
Versions: "primereact": "7.2.0", "react": "17.0.2",
- Language: [all | TypeScript X.X | ES6/7 | ES5]
Isn't' that similar to this old PR: https://github.com/primefaces/primereact/pull/2489/files
I think he shows how to properly use Typescript with Datatable.
Okay, could you please show me how to use it. Since it is not a warning but an error, I can not compile the code and therefore can not use this property.
try this...
filterMatchModeOptions={{ label1: "value1", label2: "value2" }}
I did... no success

yeah but you were just stating that the compilation failed it was because your key value pairs were not defined correctly
You are right I think a showcase example is needed on how to use this. I don't think this feature is yet complete.
Hi,
I couldn't replicate it. Could you please try the latest version?

Also, the ts warning issue has been fixed in 8.0.0-rc.2 and Doc has been updated.
For now, closed. If the problem persists, please reopen this issue. Best Regards,