Skip to main content

Notifications

Community site session details

Community site session details

Session Id : VscCfHb4/YkNB3RsTLDLCN
Power Apps - Building Power Apps
Answered

Onchange of TextInput

Like (1) ShareShare
ReportReport
Posted on 1 Oct 2019 00:46:22 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:
  • Jason-E Profile Picture
    35 on 22 Aug 2024 at 13:31:51
    Onchange of TextInput
    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.
  • MichelH Profile Picture
    398 on 24 Jan 2022 at 16:31:25
    Re: Onchange of TextInput

    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.

  • Burg_Haro Profile Picture
    2 on 30 Oct 2021 at 03:50:48
    Re: Onchange of TextInput

    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

  • mdevaney Profile Picture
    29,987 Super User 2025 Season 1 on 01 Oct 2019 at 01:03:48
    Re: Onchange of TextInput

    @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

  • Verified answer
    mdevaney Profile Picture
    29,987 Super User 2025 Season 1 on 01 Oct 2019 at 00:49:43
    Re: Onchange of TextInput

    @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."

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,776 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,093 Most Valuable Professional

Leaderboard
Loading started