Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between 'multiple' and 'tags' mode in Antd 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>
like image 643
NearHuscarl Avatar asked Mar 10 '26 09:03

NearHuscarl


1 Answers

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.

like image 165
NearHuscarl Avatar answered Mar 11 '26 22:03

NearHuscarl



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!