ant-design / ant-design/pro-components

👑 [需求]希望补充关于<ProTable>的ignoreRules属性的说明

Open
#9,024 4 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

### 🥰 需求描述

![Image](https://github.com/user-attachments/assets/ea5bc6d5-e8d7-4f6c-90e4-1d746cdc13fa)

当前[ProTable的Columns列定义文档](https://pro-components.antdigital.dev/components/table#columns-%E5%88%97%E5%AE%9A%E4%B9%89)中,虽然有提到使用ignoreRules开启表单区域的规则校验,但是没有给出具体说明,我也是翻到[这个issue的回复](https://github.com/ant-design/pro-components/issues/4635#issuecomment-1042496606)后才知道是要配置ProTable组件的`form.ignoreRules`为`false`才能让表单区域的规则生效。

所以希望添加详细说明。

### ⛰ 功能需求适用场景

用户翻阅文档时查找解决方案

### 🧐 解决方案

在[Protable属性表格](https://pro-components.antdigital.dev/components/table#protable)中添加对`ignoreRules`属性的说明,然后

将Columns列定义表格中的“`ignoreRules`”修改为超链接,跳转到上面的说明。

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

Read the ProTable documentation's ProTable props and Columns definition sections, then review the linked issue comment for the `form.ignoreRules` behavior. Add the requested `ignoreRules` explanation and link the Columns entry to it; done means both documentation locations clearly describe how to enable form validation rules.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
documentation, frontend
Issue type
Documentation
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.