Table Component Custimized Filter Search Not Working onPressEnter
javierInspiren opened this issue · 3 comments
javierInspiren commented
请酌情提供细节,并保持issue精简便于查阅
- 功能需求 => 详细说明
- Bug反馈
2.1 简单描述下报错
2.2 你期望什么结果
2.3 如何操作导致的
2.4 可提供运行环境信息- 代码求助 => 可以提,未必及时答复
onPressEnter={() => handleSearch(selectedKeys, confirm, dataIndex)}
table is not updating with the searched input on enter
superlbr commented
有没有最小可重现demo
javierInspiren commented
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 commented
ah, test ok