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 / Onchange of TextInput
Power Apps
Unanswered

Onchange of TextInput

(1) ShareShare
ReportReport
Posted on by

Hi!

 

Does anybody know why the onchange property of Textinput only fires when the user clicks on anypart of the screen, and not as soon as the condition is met?

 

Thank you!

 

@RezaDorrani 
@yashag2255 

Categories:
I have the same question (0)
  • Verified answer
    mdevaney Profile Picture
    29,989 Moderator on at

    @Anonymous 

    PowerApps works just like Excel.  Until you move to another cell you are still technically in the process of editing the current cell.

     

    Consider this example.  You are writing the word PLEASE into a text field. Typing each individual letter P-L-E-A-S-E does not trigger OnChange.  Instead, it triggers when the value changes from BLANK() to PLEASE.

     

    Official MS Documentation Definition:

    OnChange – How the app responds when the user changes the value of a control (for example, by adjusting a slider).  Wouldn't it be annoying if OnChange triggered as you were dragging the slider to its destination?  I think so.

     

    ---
    Please click "Accept as Solution" if my response helped to solve your issue so that others may find it more quickly. If your thought the post was helpful please give it a "Thumbs Up."

  • mdevaney Profile Picture
    29,989 Moderator on at

    @Anonymous 

    Please go vote for this Idea if you want to gain that functionality.  Its Under Review and will be considered if it gets enough votes.

    https://powerusers.microsoft.com/t5/PowerApps-Ideas/Firing-of-OnChange-Events/idi-p/216665

  • Burg_Haro Profile Picture
    2 on at

    Use a slider to look at the length of the text box and it will update in real-time and then simply have your slider’s on change event trigger whatever you need it to trigger. Here is a quick YouTube link reference. 

    https://youtu.be/kzIv6kNuzJ4

  • MichelH Profile Picture
    401 on at

    Is this behavior not in contradiction with what MS-docs claim on the DelayOutput toggle?

     

    This claims the OnChange fires with a delay of half a second, so you have time to type your phrase before the expensive search starts,.....


    DelayOutput â€“ When set to true, user input is registered after half a second delay. Useful for delaying expensive operations until user completes inputting text (i.e. for filtering when input is used in other formulas).

     

    But the behavior seems to be that the OnChange won't fire until the control loses focus,... but then what would be the purpose of the DelayOutput?

    A slider should fire its OnChange when you release it, not when it loses focus.

  • Jason-E Profile Picture
    35 on at
    Interesting to note, the old Text input's where you had to use textinputname.Text to retrieve the value, did update after every change. So when used for filtering, each letter would cause the filter to apply.  But the newer text input's where you use textinputname.Value, do not exhibit this behavior. They only trigger the filter to be applied when the field loses focus.  

    Very frustrating, I would like the filter to function as it did before. With each letter typed narrowing the results down.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard