ElemeFE / ElemeFE/element

How to allow dublicated items in select?

Open
#20,892 1 comment 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

I use select with created items. When I hit ENTER key on select ,the item is added to select, the problem is when I add the same element., select remove it , But I want to have another behavior, If I type the same element => the element is not removed from added items and elements with same name are removed(only remove dublicates)

Two variants are possible for me:
1. Type element with the same name -> both are saved in list(select should not remove any of dublicate items)
2. Remove only dublicate items(type element name => it is added => type the element with the same name -> remove only dublicate)

**Is it posssible to do that?**

**If no so how can I get the dublicated item from select that was removed?**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.