ant-design / ant-design/pro-components

EditableProTable: 存在校验提示信息时,希望输入框可以对齐

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

### 🔩 所属模块或组件

EditableProTable
### 🥰 需求描述
当 errorType: 'default' 时,校验错误信息再提提示框下方,会占用一定空间导致在同一行的输入框对不齐

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

### 🧐 解决方案

### 🚑 其他信息
demo: https://codesandbox.io/p/sandbox/antd-reproduction-template-forked-f3jhwr?file=%2Findex.js

![image](https://github.com/ant-design/pro-components/assets/62171869/629025eb-51cc-43b3-905a-14a96dbe6477)

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox reproduction and inspect how EditableProTable renders validation errors when errorType is 'default'. Confirm the alignment difference between inputs with and without an error message; done means inputs in the same row remain aligned while the validation prompt is displayed.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
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.