【问题标题】:Difference between 'multiple' and 'tags' mode in Antd SelectAntd Select中'multiple'和'tags'模式的区别
【发布时间】:2021-10-12 16:29:51
【问题描述】:

Antd Selectmultipletags这两种模式有什么区别?我都试过了,它们在我看来都是一样的。

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

【问题讨论】:

    标签: javascript reactjs antd


    【解决方案1】:

    除了您可以在tags 模式下创建新选项(如果输入字段中的值不存在时按Enter)之外,似乎没有什么区别。您不能使用multiple 模式扩展这样的选项。

    【讨论】:

      猜你喜欢
      • 2019-07-07
      • 1970-01-01
      • 2020-01-08
      • 2018-04-19
      • 1970-01-01
      • 2010-12-07
      • 1970-01-01
      • 1970-01-01
      • 2015-08-14
      相关资源
      最近更新 更多