Skip to content
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

Table controlled filter does not work with JSX style #4759

Closed
AndreasVolkmann opened this issue Feb 4, 2017 · 1 comment
Closed

Table controlled filter does not work with JSX style #4759

AndreasVolkmann opened this issue Feb 4, 2017 · 1 comment
Assignees

Comments

@AndreasVolkmann
Copy link

  • antd version: 2.6.4
  • OS and its version: Windows 10
  • Browser and its version: Chrome 55

I created a Table with controlled filters via the filterValue property on Column.
It works works when I define the columns as an array of objects.
But when I use JSX syntax, weird bugs start to appear.
Sometimes the filter I choose only gets applied when I click some button again.

Try first setting the filter to "Joe" -> Nothing happens.
Then click "Reset" -> It filter on "Joe".

Re-producible online demo

http://codepen.io/anon/pen/MJXggm?editors=001

@yesmeck yesmeck self-assigned this Feb 6, 2017
yesmeck added a commit that referenced this issue Feb 6, 2017
yesmeck added a commit that referenced this issue Feb 8, 2017
ddcat1115 pushed a commit that referenced this issue Feb 8, 2017
@lock
Copy link

lock bot commented May 2, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants