Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable property filteredItems on Android #445

Closed
NickIliev opened this issue Dec 11, 2017 · 1 comment
Closed

Enable property filteredItems on Android #445

NickIliev opened this issue Dec 11, 2017 · 1 comment

Comments

@NickIliev
Copy link
Collaborator

NickIliev commented Dec 11, 2017

Tell us about the problem

te.
Accessing the filteredItems property for RadAutocompleteTextView is returning a result on iOS but is not working on Android (always returning a length of 0).

Feature request -make filteredItems applicable for both platforms

Which platform(s) does your issue occur on?

Android

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

Release branch for nativescript-ui-samples-angular

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

  • Use this example

  • Introduce the following snippet in the code behind

public onSuggestionViewBecameVisible(args) {
    console.log("onSuggestionViewBecameVisible");

    let radAutoComplete = args.object;
    let shownItems = radAutoComplete.filteredItems;
    console.log("shownItems.length: " + shownItems.length); // works on iOS - enable for Android as currently always returing 0
}
  • Start the application and navigate to AutoComplete >> Events and start typing to show the suggestion view and trigger the onSuggestionViewBecameVisible callback.
@NickIliev NickIliev changed the title SuggestionViewBecameVisible arguments are private - filteredItems not working on Android Property filteredItems not working on Android Dec 11, 2017
@NickIliev NickIliev changed the title Property filteredItems not working on Android Enable property filteredItems on Android Dec 11, 2017
@tgpetrov tgpetrov self-assigned this Aug 1, 2018
@zbranzov zbranzov self-assigned this Aug 7, 2018
@zbranzov
Copy link
Contributor

zbranzov commented Aug 8, 2018

The feature is released in nativescript-ui-autocomplete@3.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants