We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Selecting wrong item and text input "Has error" problem

Thread ID:





151214 Feb 4,2020 08:36 AM UTC Feb 6,2020 12:49 PM UTC Xamarin.Forms 1
Tags: SfComboBox
Asked On February 4, 2020 08:36 AM UTC

I'm having 2 problems using Xamarin.Forms SfComboBox control.

First problem (Problem1Page) is that in some cases (please find the attached example for the exact data), when using filtering with "Suggest" mode, and clicking concrete item in the drop down list, the value that is selected by the combobox is not the one user selects. For an example, running the attached code example, and typing "1.6" in the "invalid combo box" (the upper one), and then selecting the last item (with an Id of 17), the combo box selects completly different item, with index 5. But if we type "1.6 " (note the space in the end) and select the last item, then te selected item is correct.
Also, if we change the "DisplayMemberPath" property of the combo box to something unique (in the attached example it's "NameWithId" property of the model, as in the lower combo box on the same tabbed page), then everything works fine.

Second problem (Problem2Page) is that, when the combo box is initiated within text input layout, with an HasError property set to True on the text input layout, then the whole control height is bigger than expected.
If we change the HasError property runtime, the height of the control doesn't change, which is expected behavior, in my opinion.

I have attached the example code demonstrating the issues.

Attachment: ComboBoxProblems_bf03add2.7z

Hemalatha Marikumar [Syncfusion]
Replied On February 6, 2020 12:49 PM UTC

Hi Tomasz Waclawik, 
Greetings from Syncfusion. 
Currently we are validating the reported issues in SfComboBox and we will update  the complete status on or before 10th February 2020.  
We appreciate your patience until then. 
Hemalatha M. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon