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 / Text label editable fo...
Power Apps
Answered

Text label editable for users.

(0) ShareShare
ReportReport
Posted on by 583
I have a text label that will contain a % goal. I need any user to be able to change this label to adjust the goal but I want the goal to remain when the app is closed. This will be changed monthly but I don't want to have to go into the edit part of the app and have to change it for the user every month. How can I make a label editable for anyone. I would prefer a button changes it to editable then it goes to view after. I don't really want to make a list or something to store the single data point in. Any ideas how I can mange this?
Categories:
I have the same question (0)
  • Suggested answer
    Pstork1 Profile Picture
    69,125 Most Valuable Professional on at
    Instead of using a Text Label use a Text Input control set to DisplayMode.View. Then have a button that can toggle the DisplayMode to Edit. That will make it editable by the user. Have something in the OnChange event that sets it back to DisplayMode.View. That will keep the user from editing it until they press the button again. In View mode it will look just like a label.
  • StephenGW Profile Picture
    583 on at
    Pstork1,
     
    How do I keep it from being empty when the app is closed and reopened? I tried your suggestion and after I input the number then closed the app and reopened the app the value is gone.
  • Pstork1 Profile Picture
    69,125 Most Valuable Professional on at
    The only way to store the value after closing the app is to save it to some data source. Local variables and collections will go away when the app is closed.
  • StephenGW Profile Picture
    583 on at
    Pstork1,
     
    Dang, that's why I was hoping I could have a textinput or something and a button that replaces what is in the text label. No way to do that though?
  • Verified answer
    Pstork1 Profile Picture
    69,125 Most Valuable Professional on at
    Not if they are going to close the app. There is no local storage the persists unless you use LoadData and SaveData, but that isn't supported on all devices.  The only persistent storage is a data source in the cloud.
  • StephenGW Profile Picture
    583 on at
    Pstork1,
     
    Dang, that puts a damper on my situation. I will try to find some other option that works for me. Thank you for the responses!

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 519 Most Valuable Professional

#2
11manish Profile Picture

11manish 489

#3
Haque Profile Picture

Haque 327

Last 30 days Overall leaderboard