Showing results for 
Search instead for 
Did you mean: 
Advocate I
Advocate I

Patch Removes Focus

I am a bit frustrated here and hope someone can advise, however i don't think what i am looking for is possible. 
Lets say for argument sake I also have to use patch so please do not suggest other options such as forms or something.

So I have 18 TextInput boxes all next to each other in a line and i have the onchange set to patch the change within the input boxes all pointing to patch a single column , This basically builds a logical string in said colum. 

The problem is that if in TextInpu1 I type a number and then click Textinput2 and try to type something in here, the app unfocuses on TextInput 2 almost immediately. I assume this is because the TextInput1 box is still  Performing its patch. 


Why is this annoying is because you have to make a change, then click another text box ¨, then click again to start typing. 

So what I want is when i click away from TextInput1 onto any other TextInput box i want the focus to remain.

Thanks in advance for the support 

Super User II
Super User II

Hi @unislacker,

Did you experiment the same issue when you use Tab instead of mouse click to change the focused textInput control ?

If so, please try to use SetFocus(yourNextTextInputControl) function after the Patch(). I think this should solve your problem.


Hope it helps !

Helpful resources

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users


We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (21,597)