Duplicate entries in MultiSelect

Hi support,

I'm facing duplicate entries in the multiselect component.

This comes form the type of id.
If the type of the value parameter is numeric, everything is ok.
But as soon as the type is a string, then the correspondig datamanager is called twice and there will be duplicate entries.

My code of the grid:

new ej.dropdowns.MultiSelect({value: args.rowData.allclubs, popupHeight: '140px', mode: 'Box', floatLabelType: 'Always', maximumSelectionLength: 5,
dataSource: clubsData, query: csrfQuery, fields: {value: 'clubid', text: 'name'}, placeholder: '<?=Yii::t('app', 'Clubs')?>'}, args.form.elements.namedItem('allclubs'));
new ej.dropdowns.MultiSelect({value: args.rowData.allageclasses, popupHeight: '140px', mode: 'Box', floatLabelType: 'Always',
dataSource: ageclassesData, query: csrfQuery, fields: {value: 'groupvalue', text: 'groupcaption'}, placeholder: ''}, args.form.elements.namedItem('allageclasses'));

Partial data of clubs:

[{

    "clubid": 5,

    "name": "Club ABC"

}, {

    "clubid": 6,

    "name": "Club XYZ"

}, {

Partial data of ageclasses:

[{

    "groupvalue": "none",

    "groupcaption": "keine"

}, {

    "groupcaption": "F 11",

    "groupvalue": "Female 11"

}, {

The dropdown of clubs has no duplicates but within the ageclasses dropdown all entries are doubled.

Is there any possibility to work with value parameter as a string?


There is an older forum thread facing the same issue:

https://www.syncfusion.com/forums/130660/duplicate-selected-values-in-multiselect-dropdownlist


Regards
Stephan



1 Reply

MR Mallesh Ravi Chandran Syncfusion Team January 22, 2026 04:09 AM UTC

Based on the validation , the reported scenario regarding duplicate entries appearing in the MultiSelect component when using string-type values in the fields.value property.
We would like to inform you that the MultiSelect component supports string values in the value field, provided that each value is unique. Based on your description, we recommend verifying that the DataManager is not returning duplicate records in the response data. And the value property should be unique . 
We have prepared a simple sample based on the code snippet you provided, using a local data source. On our end, both MultiSelect components (with numeric and string value fields) are working as expected without any duplicate entries.
Please review the sample and let us know if we have missed any specific case in our validation.
If you are still facing the issue, kindly provide the following information to help us investigate further:
  1. A sample that replicates the reported scenario along with clear reproduction steps
  2. Are you using the MultiSelect as a standalone component or integrating it with another component (e.g., Grid)?
  3. The version of Syncfusion EJ2 packages you are using
  4. Share the video illustration of the reported scenario.  
This information will help us provide you with a better solution . Please let us know if you have any further questions.

Loader.
Up arrow icon