New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tabe filterIcon does not work #44351
Comments
https://codesandbox.io/s/shai-xuan-he-pai-xu-antd-5-8-4-forked-mfz35y?file=/demo.tsx You should give valid |
@MadCcc no, i need open a modal on filterIcon click. |
@MadCcc, good afternoon, the issue is still there, we tried with different versions of "andt" (5.3.2, 5.6.1, 5.8.4) and with different versions of "react". At first we tried it in a project created using yarn/vitejs, however, it is not an issue, because we also tried to use it a CRA and npm projects too. We also used different PC's. The issue still remains, it is impossible to use the filterIcon, as it gives the following error |
Seems it's a issue caused by #43002 , which make Should take this scenario into consideration. |
Reproduction link
https://codepen.io/rustam-as/pen/qBLELZx?editors=1111
Steps to reproduce
created react app with vite and npx
added antd table to my app.jsx
in columns array there is filterIcon for add custom filter and onlick func
What is expected?
I expect when i click filter icon it consoles some string
What is actually happening?
it throws error "Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
The text was updated successfully, but these errors were encountered: