cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

On-focus property

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. 

6 REPLIES 6
v-monli-msft
Community Support
Community Support

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

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

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

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hello v-monli-msft,

 

Is there any express way to UpdateContext({Var:false}) when a object lost focus?

 

Best,

Jason

Anonymous
Not applicable

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.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,051)