IOS SuggestionItemTemplate is not working properly

2 posts, 0 answers
  1. Tahmina
    Tahmina avatar
    13 posts
    Member since:
    Mar 2018

    Posted 11 Jun 2019 Link to this post

    Hi There

    when we use SuggestionItemTemplate in our autocomplete to add custom design to the suggestions items, it is not consistent. Some of the row data are missing from there(Please see the attached 1st image). But in android it is very consistent(2nd image).Everything is showing perfectly.


     <telerikInput:RadAutoComplete x:Name="autoCompleteWatermark" 
                                                              ItemsSource="{Binding Options}" 
                                                              NoResultsMessage="there are no matching items..." 
                                                              Watermark="Search here..."

                                                    <OnPlatform x:TypeArguments="x:Double"
                                                                iOS="150" />

                                                                <ColumnDefinition Width="*" />
                                                            <telerikPrimitives:RadBorder BorderColor="#4488F6" CornerRadius="3">
                                                                <Label Margin="5"
                                                                 Text="{Binding Item}"
                                                                 Style="{StaticResource RegularLabel }"
                                                                 TextColor="Black" />

  2. Didi
    Didi avatar
    273 posts

    Posted 11 Jun 2019 Link to this post

    Hi Tahmina,

    Thank you for the provided images and code.

    I have noticed that you are using the RadAutoComplete control. Please note that this control is obsolete and we will not be adding any new features of fixes for it as the control is no longer being distributed. RadAutoComplete control has been replaced with RadAutoCompleteView and will be removed from the suite soon. You can read about the differences between both components and how to migrate to the RadAutoCompleteView in the kb article here: Replace AutoComplete with AutoCompleteView

    I have tested the provided code with the AutoCompleteView control on Android and on iOS and it works properly on both platforms.

    Let me know if you have any further questions.

    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top