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

Is there a way to disable LoadMore in the AutoComplete view?

Thread ID:





142005 Jan 14,2019 03:56 PM UTC Jan 16,2019 11:37 AM UTC Xamarin.Forms 1
Tags: SfAutoComplete
Asked On January 14, 2019 03:56 PM UTC

Basically, have the "MaximumSuggestions" actually be the maximum suggestions. Say, if I set the max to 4 but there are more, just display the 4 without giving the option to LoadMore (hide the button).

Some other views have the AllowLoadMore property, but it's not present in AutoComplete.

Dhanasekar R [Syncfusion]
Replied On January 16, 2019 11:37 AM UTC

Hi Gabriel, 
Greetings from Syncfusion. 
Query: “How to hide LoadMore button?” 
If we set MaximumSuggestion as 4 on SfAutoComplete, there will be four items on the drop down along with the LoadMore view at the bottom. There is no option to hide load more button in Suggestion box. 
In order to hide load more, we can set the height of drop down with MaximumDropDownHeight property. For example, if the DropDownItemHeight is 50, then we have to set MaximumDropDownHeight property to 200 (50 * 4).  
Please try our above solution and let us know if you have any further clarifications on this. 


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