ant-design / ant-design/pro-components

🧐[问题 | question] ProTable组件在LightFilter 模式下加入了校验规则后无法触发搜索事件

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

Description

### 🧐 问题描述 | Problem description

在LightFilter 模式下给column的属性加入了校验规则后,无法触发搜索事件,尝试通过设置ignoreRules也无法成功,在query模式下是可以忽视校验规则的,但是light模式下不行

### 💻 示例代码 | Sample code
![1706773757984](https://github.com/ant-design/pro-components/assets/55483309/01f1be2e-f8ca-48eb-a839-f9ff709eb650)
![1706774155156](https://github.com/ant-design/pro-components/assets/55483309/5df3c98f-0df1-45a4-b638-238b5b2da909)

### 🚑 其他信息 | Other information

![1706773910890](https://github.com/ant-design/pro-components/assets/55483309/a0669bbe-6e22-4e56-bf58-ca151093c0e1)
OS:

Node:

浏览器 | browser:chrome

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the ProTable LightFilter case with a column validation rule and ignoreRules, then compare it with query mode. Confirm the current behavior in which the search event does not fire and consider the work done when LightFilter can trigger search as expected while preserving the reported validation behavior.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.