ProgressNS / nativescript-ui-feedback

This repository is used for customer feedback regarding Telerik UI for NativeScript. The issues system here is used by customers who want to submit their feature requests or vote for existing ones.
Other
115 stars 21 forks source link

RadAutoCompleteTextView SuggestionView is not working on Nativescript7 + Android #1491

Open Datusss opened 3 years ago

Datusss commented 3 years ago

Tell us about the problem

I want to use SuggestionView to customize the suggestion, but RadAutoCompleteTextView always show default template. I used sample code on doc:

<RadAutoCompleteTextView [items]="dataItems" displayMode="Plain">
    <SuggestionView tkAutoCompleteSuggestionView suggestionViewHeight="300">
        <ng-template tkSuggestionItemTemplate let-item="item" let-index="index">
            <StackLayout orientation="vertical" padding="10">
                <Label [text]="index"></Label>
                <Label [text]="item.text"></Label>
            </StackLayout>
        </ng-template>
    </SuggestionView>
</RadAutoCompleteTextView>

Which platform(s) does your issue occur on?

Android 7.1.1

Please provide the following version numbers that your issue occurs with:

Please tell us how to recreate the issue in as much detail as possible.

  1. Start the application
  2. Type "a" into autocomplete field and wait to suggestions display
rick-loz commented 3 years ago

Hi! Did you find a solution or workaround for this? I'm using NS7 with Angular for an Android application and no matter how I modify the SuggestionView template, it stays the same.