为一个输入实现多个自动完成
我目前有一个具有自动完成功能的输入字段,我试图为每个输入的项目本质上进行两阶段自动完成,例如输入我将显示 IP 地址,选择在输入中输入“ipAddress=”,然后我会喜欢根据所选选项在同一输入中显示另一个自动完成以显示可用地址。然后他们会添加一个逗号并重复添加任何其他过滤器。我只是不确定这会被称为什么或如何实现它,所以任何提示或想法将不胜感激
I currently have an input field that has an autocomplete, I’m trying to have essentially a two stage autocomplete for each entered item, for example typing I would show IP Address, selecting that enters “ipAddress=“ into the input, I would then like to display another autocomplete in the same input based on the selected option to display the available addresses. Then they would add a comma and repeat to add any other filters. I just am not sure what this would be called or how to implement this so any tips or ideas would be greatly appreciated
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试这样的事情:
TS:
HTML
您只需要添加第二个自动完成等等
Try something like this:
TS:
HTML
You just need to add second auto-complete and so on