ant-design / ant-design/pro-components

🐛[BUG] ProTable自定义查询表单后,无法触发查询

Open
#9,106 3 comments 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

### 🐛 bug 描述

ProTable自定义查询表单后,无法触发查询

### 🏞 期望结果

能够默认触发查询,或者能够手动触发

### 💻 复现代码

https://codesandbox.io/p/sandbox/qing-liang-shai-xuan-ti-huan-cha-xun-biao-dan-forked-ncdg9m?file=%2FApp.tsx%3A79%2C7-79%2C23

### © 版本信息

latest

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

Open the linked CodeSandbox and inspect App.tsx around lines 79–23 to reproduce the custom query-form behavior. Trace how ProTable receives that form, then verify that a default or manual query is triggered after the form is customized.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.