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

Announcements

News and Announcements icon
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,331 Moderator

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,687 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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard