ant-design / ant-design/pro-components

👑 [需求]可编辑表格错误提示不希望是popover的方式,或者可以控制popover的一些属性

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

提问前先看看:

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

### 🔩 所属模块或组件

EditableTable

### 🥰 需求描述

我想使用antd自带的那种错误提示(放在表单控件的下面),似乎不太好改。

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

现在的可编辑表格的错误提示好像只有 focus 时才会显示出来,想在提交的时候直接告诉用户错误信息好像不太容易做到。

### 🧐 解决方案

看代码是不是可以把 errorType 放开

image

Contributor guide

Open the contributing guide

Research direction

Start by locating the EditableTable implementation and reviewing how its errorType is handled. Trace when validation errors are shown, especially during submission rather than focus, and determine which popover properties or alternate display mode the component can expose. Done should include a clear configurable error presentation that reports validation errors on submit.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.