Dropdown duplicates options key #2545
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ...
CodeSandbox Case (Bug Reports)
There is an issue with Dropdown search.
I have reviewed the sample code of Dropdown component here : https://codesandbox.io/s/1qdiug?file=/src/DropdownDemo.vue
I'm testing Advanced with Templating, Filtering and Clear Icon example.
Current behavior
Here while you have multiple options with same name, the search result shows duplicate options.
Check screenshot:
I have used following options:
Here India is used multiple times with different code but while searching Ind it shows 12/13 times.
Expected behavior
Search should find exact number of results. In this example, India should be shown 4 times only while searching Ind.
Please tell us about your environment:
OS : Windows
Vue version: 3.X
PrimeVue version: 3.12.X
Browser: [all]
The text was updated successfully, but these errors were encountered: