英文:
How to trigger a "button" in PowerApps upon hitting the "return" key in a TextInput
问题
我有一个相当简单的应用程序。我有一个文本输入字段和一个执行任务的按钮。当用户在文本输入字段中输入文本然后点击按钮时,应用程序可以正常工作。
问题是,我希望每当用户在文本输入字段中按下"Enter"键时,按钮的功能都会被执行。我尝试搜索答案,但实际上没有找到解决方法,尽管这应该是一个相当常见的用例。
英文:
I am having a quite easy application. I have a text input field and button to execute a task. The app works fine when the user enter some text in the text input field - and then click the button.
The problem is, that I want the button functionality to be executed every time a user enter the "Enter" key in the text input field. I tried to search for an answer but did not really find a solution, even if it should be quite common use case.
答案1
得分: 1
抱歉,这目前还不受 Microsoft Power Apps 支持。
这是 Power Apps 画布应用程序中文本输入的已知限制。
查看以下链接以获取更多信息和一些解决方法:
此外,您可以投票支持在不久的将来实施此功能:
英文:
Unfortunately, this is not yet supported by Microsoft Power Apps.
This is a known limitation of text input in Power Apps canvas application.
Check below links for more information and some workarounds:
Also, you can vote on this idea for implementing this feature in near future:
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论