-
Notifications
You must be signed in to change notification settings - Fork 773
Open
Labels
feature requestRequest new featureRequest new feature
Description
Which Component Need Enhancement 期望新增功能的组件
- TagInput
What does the proposed API look like 期望支持的API
- split
Feature Description 功能描述
用于自定义分隔符处理函数的逻辑,作用同 https://github.com/DouyinFE/semi-design/blob/main/packages/semi-foundation/tagInput/utils/getSplitedArray.ts
Additional information 补充说明
具体的一个使用场景是:
在 Taginput 中分隔符 separator 设置为, 但是某些位置的,不想要被拆分,所以提前将转义字符插入到不想拆分的位置,但是组件中的 getSplitedArray 无法处理转义字符后的, 不要处理,因此用户需要自行做处理。另外由于用户的使用可能更为复杂,因此将处理分割符的逻辑支持用户完全自定义更灵活一些
Metadata
Metadata
Assignees
Labels
feature requestRequest new featureRequest new feature