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

value in onFilter expect string | number | boolean #5105

Open
1 task done
Djaangoo opened this issue Dec 30, 2021 · 1 comment
Open
1 task done

value in onFilter expect string | number | boolean #5105

Djaangoo opened this issue Dec 30, 2021 · 1 comment

Comments

@Djaangoo
Copy link

Djaangoo commented Dec 30, 2021

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

Version

3.0.0-beta.4

Environment

Chrome

Reproduction link

https://github.com/vueComponent/ant-design-vue/blob/next/components/table/interface.tsx#L111

Steps to reproduce

Go into the link
interface expects the number, string or boolean

What is expected?

if we create a date-range-filter with RangePicker we wanna save an array of strings or dayjs Objects into a filter value

What is actually happening?

ts-error - value should be number, string or boolean

@github-actions github-actions bot changed the title value in onFilter expect string | number | boolean but it can get array value in onFilter expect string | number | boolean but it can get array Dec 30, 2021
@Djaangoo Djaangoo changed the title value in onFilter expect string | number | boolean but it can get array value in onFilter expect string | number | boolean Dec 30, 2021
@tangjinzhou
Copy link
Member

ref ant-design/ant-design#30368

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

No branches or pull requests

2 participants