Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

SetFocus to TextBox in Power Apps for Teams

Hi team,

I think that I discovered a bug in the Power Apps for Teams port.

In Power Apps for Teams you have a "Text box" input that behaves like you would expect. However, this input control has a different name in the Power Apps web experience. On the web, a text input control is call "Text Input".


This change causes issues when you try to use the SetFocus function, as "Text box" is technically not part of the available controls for SetFocus.


Continueing on this difference in Power Apps for Teams, I think it is unwise to have different naming for the same control on different platforms, as it can cause confusion by trying to follow the documentation on MS Docs, or any other tutorial that mentions the TextInput control (which cannot be found in Power Apps for Teams...).

Frequent Visitor


Kudo Collector
Kudo Collector

I have a feeling SetFocus() might not be working at all in Dataverse for Teams, with any of the Fluent Controls.

I've tried labels/text, both inside of scrolling screens, inside forms, and just on the screen;

I cannot get the SetFocus() function to work with any of them 😞


Works fine in ordinary Canvas Power Apps, just not in Power Apps for Teams.



"Continuing on this difference in Power Apps for Teams, I think it is unwise to have different naming for the same control on different platforms"

Don't stress too much about this, Microsoft is in the process of converging the Canvas Power App Maker / Model-Driven App Maker (and presumably the Teams Apps Maker), into a single App Maker experience.


i assume the intention, is that we will be using Fluent controls in the future.

There wont be a difference in the future.




so what work around can you do now?

- create a Canvas App

- insert a Text Control

- copy that Text Control

- create a Power Apps for Teams App

- paste the Text Control from the Canvas App into the Power Apps for Teams App


see picture


so cool that you can do this 😄


serious warning time.. not sure if this is a good idea to do this.. probably-definitely not supported, and may break in future


works, but not sure if a good ideaworks, but not sure if a good idea



Helpful resources

Ignite 2022


Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,767)