Notifications
Announcements
Hello everyone,
I got a TextBox and i want to Patch() this value when I click on the Enter key while I'm on the TextBox.For the moment the Patch() function occur when I click on the button "Retirer" below. But is it possible to do it when clicking on the Enter key ? I can't find this property on the text box, it would be like a OnKeyPress property but it doesn't seems to exist on Power Apps. I know that there is OnSelect and OnChange option but I don't like it because it trigger the Patch() function while am writing on the Textbox or when I'm selecting it. Does anyone have a solution for this ?
Thank's in advance for your helpNoah
On change property should work for you --- the onchange is only actioned after the user has changed the text input and then tabbed, entered or clicked out of the textinput box
Thank's for your response, but personnaly, the OnChange property is actionned when I finish to write something, without any tabbed, entered or clicked out of the TextInput Box. And that's why it's a problem for me
That's strange it's never behaved that way for me
The only real alternative I think is to have a submit button that patches the input box when clicked.
Oh yes I understand the problem now, I was using a TextBox which behave differently than an TextInputBox. That work fine now with the OnChange Property. Thank's for having Helping me indirectly !
yes sorry you referred to textinput in your first post so assumed you were talking about a textinput box 🙂
Glad I could help indirectly if you can mark as solved 🙂 thanks
check out this community solution tooSolved: Submit Form with the Enter Key - Power Platform Community (microsoft.com)
For anyone else looking, there is no way to create Custom keyboard shortcuts. This link is only for the existing shortcuts built into the app.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268