ant-design / ant-design/pro-components

🧐[问题]ProTable 自定义 filterDropdown, 如何自定义搜索参数

Open
#8,309 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

### 🧐 问题描述

比如: filterDropdown 为 RangePicker, value为数组格式, 搜索时如何将参数自定义为: { start_date: '', end_date: '' }格式

### 💻 示例代码

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

Start by reading ProTable's filterDropdown handling and the RangePicker value flow. Trace how the selected range becomes search parameters, then define what behavior would be considered done for producing separate start_date and end_date values.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.