ant-design / ant-design/pro-components

🧐[问题]EditableProTable 使用 ellipsis 不生效,应该怎么做?

Open
#7,839 1 comment 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

在可编辑状态,里面是输入框,输入的东西过长,没有tooltip提示,但使用ellipsis 不生效,难道又要自己render吗?
自己写了renderFormItem之后,表格校验又失效了,输入框明明有值,但就是提示必填(ps: 这列是必填列),真的难搞啊

Contributor guide

Open the contributing guide

Research direction

No file, test, reproduction, or entry point is provided. Start by reproducing the EditableProTable case with an editable required field and ellipsis, then isolate the interaction between the input tooltip and custom renderFormItem handling. Done means long input content receives the expected tooltip and validation recognizes a non-empty value.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.