cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

Onchange of TextInput

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 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

@CarloPrincipe 

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

View solution in original post

2 REPLIES 2
Super User III
Super User III

@CarloPrincipe 

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

View solution in original post

Super User III
Super User III

@CarloPrincipe 

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

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (5,415)