ant-design / ant-design/pro-components

🧐[问题] ProTable 设置 form.ignoreRules = true 后会激活窗口自动重新请求功能 revalidateOnFocus 为什么要失效?

Open
#8,425 0 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

### 🧐 问题描述

ProTable 设置 form.ignoreRules = true 后为什么将 revalidateOnFocus(激活窗口自动重新请求)失效?

### 💻 示例代码

![image](https://github.com/ant-design/pro-components/assets/13602053/207bb750-dfab-4562-add1-f6d982ae05a3)

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

Start with the ProTable behavior described in the issue and reproduce the example shown in the attached image. Compare form.ignoreRules = true with revalidateOnFocus enabled, then trace where the focus-triggered request is disabled. Done means identifying and correcting the interaction, with a regression test or verified reproduction showing that revalidateOnFocus works as expected.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.