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 Component Custimized Filter Search Not Working onPressEnter #1134

Open
javierInspiren opened this issue Jun 6, 2022 · 3 comments
Open

Comments

@javierInspiren
Copy link

javierInspiren commented Jun 6, 2022

请酌情提供细节,并保持issue精简便于查阅

  1. 功能需求 => 详细说明
  2. Bug反馈
    2.1 简单描述下报错
    2.2 你期望什么结果
    2.3 如何操作导致的
    2.4 可提供运行环境信息
  3. 代码求助 => 可以提,未必及时答复
    onPressEnter={() => handleSearch(selectedKeys, confirm, dataIndex)}table is not updating with the searched input on enter
@superlbr
Copy link
Collaborator

superlbr commented Jun 7, 2022

有没有最小可重现demo

@javierInspiren
Copy link
Author

https://codesandbox.io/s/k0v9ny?file=/demo.js:1499-1566
this is the expected behavior.
on the current version of ant design, it is just highlighting the text and triggering sorting by descending and ascending when the enter key is pressed.

@superlbr
Copy link
Collaborator

superlbr commented Jun 9, 2022

ah, test ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants