Nativescript自动完成不可见 [英] Nativescript AutoComplete not visible

查看:118
本文介绍了Nativescript自动完成不可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有针对自动完成功能的最新工作解决方案? 我尝试了上述步骤,但屏幕上看不到任何东西

Do any have the latest working solution for Autocomplete? I tried above steps but nothing is visible on screen

感谢您的回答和帮助!

我尝试了此步骤,但是在屏幕上什么都没有起作用或看不到...

I tried this steps but nothing worked or visible on screen...

项目数组:

var item:Array<string> = ['1','2','3','4']

以及该组件的HTML中:

and in the HTML of the component:

<StackLayout>
    <AutoComplete [items]="item" itemTap="itemTapped($event)"> </AutoComplete>      
</StackLayout>

-问候

推荐答案

我已经能够创建一些东西,它不是插件,只是您可以在项目中包含的一段代码.我在tns-android 3.1.1和tns-core-modules @ 3.1.1上进行了测试.不是 在GitHub https://github.com/mbayi/nativescript-AutoComplete

I have been able to create something, It's not a plugin, just a piece of code you can include in your project. I tested on tns-android 3.1.1 and tns-core-modules @ 3.1.1. Not Check it on GitHub https://github.com/mbayi/nativescript-AutoComplete

这篇关于Nativescript自动完成不可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆