feat(input-text): 多选模式支持 maxTagCount 标签收纳功能#21258
Open
bamzc wants to merge 1 commit intobaidu:masterfrom
Open
Conversation
- 新增 maxTagCount 属性,支持设置标签最大展示数量 - 新增 overflowTagPopover 属性,支持自定义收纳浮层配置 - 超出数量的标签以 +N 形式展示,hover 显示收纳浮层 - 收纳浮层内支持删除标签操作
|
👍 Thanks for this! Please review the labels and make any necessary changes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
为 InputText 组件的多选模式添加 maxTagCount 标签收纳功能。
Why
当 InputText 多选模式下选中大量选项时,标签会占用过多空间,影响界面美观和用户体验。
How