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 help
Noah
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.
check out this community solution too
Solved: Submit Form with the Enter Key - Power Platform Community (microsoft.com)
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
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 !
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.
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
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
WarrenBelz
78
Most Valuable Professional
MS.Ragavendar
49
mmbr1606
41
Super User 2025 Season 1