web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Created Labels Need In...
Power Apps
Unanswered

Created Labels Need Inputs

(0) ShareShare
ReportReport
Posted on by 5,329 Super User 2025 Season 2

If a person was dumb enough to make a bunch of Text Labels rather than Text Inputs, is there a way to convert?

Or, does that ignorant person have to replace those labels with inputs?

...asking for a friend.😂

Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

    @Phineas yep I've been there. Unfortunately you cannot convert control types.

     

    ------------------------------------------------------------------------------------------------------------------------------

     

    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

    If you like my response, please give it a Thumbs Up.

    Imran-Ami Khan

  • CarlosFigueira Profile Picture
    on at

    Still in preview, but you can use the Power Platform CLI to export the app in a text, readable format, and change the control types, then use the same tool to pack it back into an app. For example, in this app below:

    ForumPost001.png

    If I run my tool:

    pac canvas unpack --sources d:\temp\unpack --msapp path\to\myapp.msapp

    I can open the .yml file for the screen, which will show something like this:

    Screen1 As screen:
    
     Label1 As label:
     Text: ="Text"
     X: =40
     Y: =40
     ZIndex: =1
     Label1_1 As label:
     Text: ="Text"
     X: =60
     Y: =60
     ZIndex: =2
    ...
     Label1_31 As label:
     Text: ="Text"
     X: =660
     Y: =660
     ZIndex: =32
    
     TextInput1 As text:
     Default: ="Text input 2"
     X: =790
     Y: =80
     ZIndex: =33
    

    That shows that the control type for a text input is "text", so I can edit it in a text editor updating most of my labels to text input controls:

    Screen1 As screen:
    
     Label1 As label:
     Text: ="Text"
     X: =40
     Y: =40
     ZIndex: =1
    
     ModifiedText_1 As text:
     Default: ="Text"
     X: =60
     Y: =60
     ZIndex: =2
    
     ModifiedText_2 As text:
     Default: ="Text"
     X: =80
     Y: =80
     ZIndex: =3
    ...
     TextInput1 As text:
     Default: ="Text input 2"
     X: =790
     Y: =80
     ZIndex: =33
    
    

    After that I can "re-pack" the app:

    pac canvas pack --sources d:\temp\unpack --msapp path\to\myapp-modified.msapp

    And when I open this modified app, I see that most of the labels become text input controls:

    ForumPost002.png

    Hope this helps!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 386 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 361

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 339 Super User 2025 Season 2

Last 30 days Overall leaderboard