最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Difference between 'multiple' and 'tags' mode in Antd Select - Stack Overflow

programmeradmin0浏览0评论

What is the difference between the 2 modes multiple and tags in Antd Select? I tried both and they look the same to me.

<Select mode="tags" {...}>
  {children}
</Select>
<Select mode="multiple" {...}>
  {children}
</Select>

What is the difference between the 2 modes multiple and tags in Antd Select? I tried both and they look the same to me.

<Select mode="tags" {...}>
  {children}
</Select>
<Select mode="multiple" {...}>
  {children}
</Select>
Share Improve this question asked Jan 2, 2021 at 8:42 NearHuscarlNearHuscarl 81.4k22 gold badges318 silver badges280 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 19

It seems like there is no difference except that you can create new options in tags mode (by pressing Enter if the value in the input field does not exist). You can't extend the options like that using multiple mode.

发布评论

评论列表(0)

  1. 暂无评论