Skip to content

Conversation

@bamzc
Copy link
Contributor

@bamzc bamzc commented Jan 14, 2026

What

为 InputText 组件的多选模式添加 maxTagCount 标签收纳功能。

Why

当 InputText 多选模式下选中大量选项时,标签会占用过多空间,影响界面美观和用户体验。

How

  • 新增 maxTagCount 属性:设置标签最大展示数量,超出部分以 +N 形式收纳
  • 新增 overflowTagPopover 属性:支持自定义收纳浮层的 Popover 配置
  • 使用 TooltipWrapper 实现 hover 展示收纳浮层
  • 收纳浮层内支持删除标签操作
  • 添加对应的 SCSS 样式

- 新增 maxTagCount 属性,支持设置标签最大展示数量
- 新增 overflowTagPopover 属性,支持自定义收纳浮层配置
- 超出数量的标签以 +N 形式展示,hover 显示收纳浮层
- 收纳浮层内支持删除标签操作
@github-actions
Copy link

👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.

Please review the labels and make any necessary changes.

@github-actions github-actions bot added the feat label Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant