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 / When I patch, text val...
Power Apps
Unanswered

When I patch, text value from Text box is disappearing

(1) ShareShare
ReportReport
Posted on by 32

Dear Team,

 

My project is, user will come create a request. Request has choice, Text box and Multiline (Request Descreption0 text box once they submit a request is created.

 

Support team will open the request, I have made a separate list in SharePoint which has username of all the team members will work on this request.

 

Logic here is, users will open the request and assign to themselves via drop down menu. when they select their name and click ASSIGN button. Patch will update.. "Assigned to" and "Status" to Assigned.

 

When I click assign Button, request description text in the textbox disappears.

 

Patch formula I used.

 

Patch(Datasoruce, Gallery1.Selected, {Assignedto:Dropdown.Selected.Users},{Status:"Assigned"}).

 

 

Some one please help me

 

Categories:
I have the same question (0)
  • KeithAtherton Profile Picture
    3,705 Most Valuable Professional on at

    Hi @Ross369,

     

    Is there any other code in the assign button OnSelect event?

    Also, what is the description input control Text property set to? Is it just text or a variable?


    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

  • Ross369 Profile Picture
    32 on at

    Dear Keith,

     

    Thanks the reply.

    Onselect - I have this formula

     

    Patch(Datasoruce, Gallery1.Selected, {Assignedto:Dropdown.Selected.Users},{Status:"Assigned"}).

     

    No variable.

     

     

  • KeithAtherton Profile Picture
    3,705 Most Valuable Professional on at

    Thanks. I wouldn't expect calling the Patch function to reset any controls, I've only seen that type of behaviour when calling functions like SubmitForm.

     

    Also, if the description input control Text property does not use a variable then we can rule out a variable being reset.

     

    Are any other input controls on the screen also reset, or is it only the description input control?


    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

  • Ross369 Profile Picture
    32 on at

    Yes. Strange. It disappears everytime I patch :(.

     

    Is there any workaround ?

  • KeithAtherton Profile Picture
    3,705 Most Valuable Professional on at

    I've not seen this behaviour before so we need to identify what's causing the input control reset.

     

    Are any other input controls on the screen also reset, or is it only the description input control?


    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard