ReactJS-材料UI-符号自动完成建议?
我想知道是否有任何简单的方法可以使用Material -UI自动完成或任何其他提供自动完成选项的Llibrary,这些选项看起来如下:
- 第一步 - >用户在输入字段中输入以下符号:%
- 步骤 - >自动完成显示为建议:
我的想法是创建一个具有符号及其价值的对象。 在EA上。输入符号,检查对象是否输入符号匹配对象中的任何符号,如果是的,则提供建议。
I am wondering if there is any easy way to use either Material-UI autocomplete or any other llibrary which offers autocomplete options which look as following:
- Step one -> User enter following symbol in an input field: %
- Step two -> Autocomplete shows as suggestion: percent
My idea would be to create an Object with symbols and their value.
On ea. entered Symbol, check the Object if entered symbol matches any symbol in the Object, if so, offer an suggestion.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论