Collection 2id with same value

Hi. My example: https://snippet.webix.com/2zgesade

I have a var name is ‘collection’.
const collection = [
{id:“d1”,value:“Duy 1”},
{id:“d2”,value:“Duy 2”},
{id:“d3”,value:“Duy 3”},
{id:“d4”,value:“Duy 3”},
]

How can i only show a list “Duy 1”,“Duy 2”,“Duy 3” replace “Duy 1”,“Duy 2”,“Duy 3”, “Duy 3”.

I must use 2 ID with the same VALUE

Hello, @duynq2197

Could you, please, specify what exactly you would like to do with items with duplicate values (combine, remove, something else)?

@duynq2197,

There is a possibility to save all options, and at the same time add the visual difference.

For that, for each item with the repeated value you could display an index via a template. That won’t affect existing options (items would have different id and same value), and visually that would be divided and available to be chosen separately.
You can define the configuration of the combo editor in DataTable column using the column suggest property. Work with it as with ordinary combo suggest property.
Inside the suggest achieve the list config and set the template. This template checks for matches and makes the sequence number of the record.
Here is the snippet: Code Snippet

Thanks. But your answer doesn’t solve my problem. I want 2 id bind with 1 value. But on list only show 1 value and this value have 2 id.

Example:
ID : 1 or 2 will bind with “Bird” value.

The list only show [Bird] not [Bird1, Bird2]