Problem when two consecutive entries have the same text value

Hi! I've identified an issue with the combo box control: if the text value of two consecutive entries is identical, it's impossible to select the bottom of the the two (I didn't test but I assume it would hold true for more than two duplicates as well).

I modified your Xamarin sample to illustrate; run the attached sample and use the "Change size of text" combo box, you'll see I added a second entry for "125%" but it's not possible to select that item; it always selects the top "125%" entry.

Is this a bug, or is there a way around this issue, or is it a limitation of SfComboBox that consecutive entries have to be unique? (That would seem to be an odd limitation if true.)

Thanks for any help!


Attachment: SampleBrowser.SfComboBox_8b81d8b7.zip


5 Replies

RS Ruba Shanmugam Syncfusion Team October 4, 2021 10:29 AM UTC

Hi Phil Seeman, 
 
Greetings from Syncfusion. 
 
Currently we are validating the reported issue and we will update the complete details on or before the Oct 7, 2021. We appreciate your patience until then. 
 
Regards, 
Ruba Shanmugam 



SS Suganya Sethuraman Syncfusion Team October 8, 2021 12:12 PM UTC

Hi Phil Seeman,

Thanks for your patience.

We have analyzed the reported issue. We have achieved your requirement by using Collection of object as the DataSource of ComboBox instead of Collection of string.

Please have a modified sample for your reference,

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/SfComboBoxSample-1763476648

Please check and let us know if you have any concerns.

Regards,
Suganya Sethuraman. 



PS Phil Seeman October 8, 2021 02:16 PM UTC

Hi Suganya,

It does resolve the problem, thanks.

One other question, though: when one of the items with the duplicated text value is selected and you drop down the combobox, both instances of that text value are highlighted:


Combo-highlight.jpg


Is it possible to avoid that incorrect highlighting of both items (without having to change the text so that the two items' text is different)? 

Thanks!




SS Suganya Sethuraman Syncfusion Team October 11, 2021 12:52 PM UTC

Hi Phil,

Thanks for the update.
 
We have analyzed your requirement. We don't have a support for your requirement. We have considered this as feature request, and you can track the status of this feature implements through the below link.

Feedback Link: https://www.syncfusion.com/feedback/29379

 
If you have any more specifications/suggestions to the feature request, you can add it as a comment in the portal.

We will release a patch for this on October 26, 2021. We appreciate your patience until then.

Regards,
Suganya Sethuraman.
 



SS Suganya Sethuraman Syncfusion Team October 27, 2021 06:56 AM UTC

Hi Phil,

Thanks for your patience.

We have included the fix in our latest Weekly NuGet release v19.3.0.47 which is available for download (https://www.nuget.org/ ). We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.

Regards,
Suganya Sethuraman.
 


Loader.
Up arrow icon