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 / Stutter when using Pat...
Power Apps
Unanswered

Stutter when using Patch on "onChange" for text input

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

We are running into issue where we have an Patch Function in our onChange for textinput. Patch is taking the information that user added and putting in the collection.

 

But when typing, it stutter. I have double click to enter the information and click it again if i stop.

 

Only happen when using Patch on onChange for TextInput.

 

TextInput Code for onChange: Patch(Materials,ThisItem,{PackageType:TextInputPackageType.Text})

 

Materials = Collection

 

Thanks,

Categories:
I have the same question (0)
  • RezaDorrani Profile Picture
    12,145 on at

    Hi @Anonymous 

     

    Since you are using onChange every key stroke (data entered) will trigger the Patch

     

    Text box control has a property called delayOutput

    Try setting that to true and check

     

    Regards,

    Reza Dorrani

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    HI @RezaDorrani 

     

    I did make change delayOutput to true but still didn't help.

     

    For examples:

     

    Two Text Input:

    - Click on first text input with delay output to true, no stutuer but when I go to next text output, I click on it but stuter then I click it again, it works. 

     

    Both text input have patch onChange and sending the information to collection.

     

    Thanks

  • RezaDorrani Profile Picture
    12,145 on at

    @Anonymous 

     

    I am assuming you have delayed output true for both your text boxes

    Is that true?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @RezaDorrani Yes

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 494

#2
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#3
11manish Profile Picture

11manish 323

Last 30 days Overall leaderboard