Combobox remote bind and set value

Hi,

I have a Combobox with remote binding using Datamanager, it also has the functionality to load data on scroll. However, if the value of the item that is bind during the initialisation is not in the initial list loaded in the dropdown then it doesn't show the "text" and instead shows the "id". Below is the link that reproduces the problem.

It shows "ERNSH"  instead of "Roland Mendel". 

https://stackblitz.com/edit/w39uuc-qcmryj?file=index.js


Please advise.

Thanks

Sri


1 Reply

MR Mallesh Ravi Chandran Syncfusion Team February 20, 2024 11:35 AM UTC

Hi Sri Nistala , 

To address your concern, we suggest updating the version in the CDN link. Here is the code snippet for your reference:


 <script

      src=https://cdn.syncfusion.com/ej2/23.1.42/dist/ej2.min.js

      type="text/javascript"

    ></script>

    <link

      rel='nofollow' href=https://cdn.syncfusion.com/ej2/23.1.42/material.css

      rel="stylesheet"

    />

 


Gif :



Sample : https://stackblitz.com/edit/w39uuc-lak7xv?file=index.js,index.html

We have also modified the sample for your reference. Please review the sample, and if you have any concerns, please let us know.


Regards, 
Mallesh 


Loader.
Up arrow icon