ant-design / ant-design/pro-components
🧐[问题] ProTable 生成的搜索的 label 长度过长时 如何处理
Open
- 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
### 🧐 问题描述
现需求 当前搜索的label过长,此时会显示不全,有什么api可以解决吗
### 💻 示例代码
` {
title: '安装产品大萨达是的撒打撒的撒',
dataIndex: 'product',
hideInTable: true,
ellipsis: true,
},`
### 🚑 其他信息
Contributor guide
Research direction
Reproduce the long-label search case using the ProTable configuration shown in the issue, then trace the search form's label rendering entry point. The issue names no files or tests, and completion depends on clarifying whether labels should wrap, truncate, or expose another display option.
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
- Needs clarification
- Newbie friendliness
- 25/100