Is there any feedback on adding an On-focus property to a user input such as text input? This will allow to enable a specific control with an On-Visible event occurs, reducing clicks when using PowerApps.
Hi @Anonymous,
I'm not sure what you want to achieve with this property. Could you explain more with an example?
If you mean that when you start to type inside a TextInput control, it triggers the Visible event of another control. Then this could be achieve using below formulas:
TextInput1.OnSelect=UpdateContext({Var:true}) Label1.Visible=Var
Regards,
Mona
I mean, when one navigates to a screen, a text input on that screen will be activated. So a user can start typing without the need of first clicking on the text input. To enable this for a particular control i.e. text input, one should be able to enable an on-focus property using an UpdateContext variable in the scope of the screen.
Hi @Anonymous,
Thanks for your explanation. For feature request, please consider to add an idea in the PowerApps Ideas forum, so it might be considered for future releases.
https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas
Regards,
Mona Li
Hello v-monli-msft,
Is there any express way to UpdateContext({Var:false}) when a object lost focus?
Best,
Jason
I am also looking for this requirement. When end user press Tab button from keyboard and a next control inside the form is focused, a eventhandler is required to catch that event.
Let me know if you have sorted out this problem.
Da kannst du SetFocus() verwenden.
SetFocus-Funktion in Power Apps – Power Platform | Microsoft Docs