nativescript-ui-feedback icon indicating copy to clipboard operation
nativescript-ui-feedback copied to clipboard

RadAutoCompleteTextView SuggestionView is not working on Nativescript7 + Android

Open Datusss opened this issue 5 years ago • 1 comments

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:

  • "nativescript-ui-autocomplete": "^7.0.2",
  • tns debug android
  • "@nativescript/core": "~7.0.0"

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

Datusss avatar Dec 01 '20 08:12 Datusss

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.

rick-loz avatar May 12 '21 04:05 rick-loz