Ant-design: add option for 'Select' component to remove selected items from dropdown

Created on 29 Oct 2017  ·  1Comment  ·  Source: ant-design/ant-design

What problem does this feature solve?

Currently as you select multiple items from the DropDown list of 'Select', it does not remove those items, it just marks those items as 'selected'.
For a lot of UX use cases, it is better to have those selected items no longer show up in the list.

What does the proposed API look like?

add a property for the option like clearSelectedItems=true which will filter the dropdown list of the already selected items.

Most helpful comment

You can implement this by you own.
demo: https://codepen.io/hansnow/pen/LOENWp?editors=001

image

>All comments

You can implement this by you own.
demo: https://codepen.io/hansnow/pen/LOENWp?editors=001

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PeteAndersen picture PeteAndersen  ·  3Comments

longhuasishen picture longhuasishen  ·  3Comments

AhmedSayed77 picture AhmedSayed77  ·  3Comments

ryannealmes picture ryannealmes  ·  3Comments

mineralres picture mineralres  ·  3Comments