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 filters should support number as value #15593

Closed
1 task done
XianZhengquan opened this issue Mar 22, 2019 · 6 comments · Fixed by #15817
Closed
1 task done

Table filters should support number as value #15593

XianZhengquan opened this issue Mar 22, 2019 · 6 comments · Fixed by #15817

Comments

@XianZhengquan
Copy link
Contributor

XianZhengquan commented Mar 22, 2019

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://github.com/SmallPolaris/antd-table-bug

Steps to reproduce

yarn
启动项目,选择table的过滤

What is expected?

table的filters能正常显示样式

What is actually happening?

table的filters的样式错误

Environment Info
antd 3.15.1
React 16.8.4
System windows10
Browser chrome73

在antd v3.10.1版本是正确的

@XianZhengquan
Copy link
Contributor Author

经过实践之后,发现filters的value只能为String,否则filters的样式发生错误。希望能支持其他类型的value

@qzmer1104
Copy link

发现同样的问题,确实转成字符串解决,不过,你别关了啊,关了他们不修复了。

@XianZhengquan XianZhengquan reopened this Mar 26, 2019
@XianZhengquan
Copy link
Contributor Author

发现同样的问题,确实转成字符串解决,不过,你别关了啊,关了他们不修复了。

打开了

@XianZhengquan
Copy link
Contributor Author

github 项目已经删除了,原因已经说明

@afc163 afc163 added the 🤔 Need Reproduce We cannot reproduce your problem label Mar 26, 2019
@ant-design-bot
Copy link
Contributor

Hello @smallpolaris. Please provide a online reproduction by forking this link https://u.ant.design/codesandbox-repro or a minimal GitHub repository. Issues labeled by Need Reproduce will be closed if no activities in 7 days.

你好 @smallpolaris, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。7 天内未跟进的 issue 将会被自动关闭。

@XianZhengquan
Copy link
Contributor Author

Hello @smallpolaris. Please provide a online reproduction by forking this link https://u.ant.design/codesandbox-repro or a minimal GitHub repository. Issues labeled by Need Reproduce will be closed if no activities in 7 days.

你好 @smallpolaris, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。7 天内未跟进的 issue 将会被自动关闭。

已经创建好了,请查看,谢谢!
https://codesandbox.io/embed/4lxyyx69nx

@afc163 afc163 removed the 🤔 Need Reproduce We cannot reproduce your problem label Mar 27, 2019
@afc163 afc163 changed the title 3.15.1Table的filters,过滤之后样式不正确 Table filters should support number as value Mar 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants