cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CarloPrincipe 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
Super User

Re: Onchange of TextInput

@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
Super User

Re: Onchange of TextInput

@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

Highlighted
Super User
Super User

Re: Onchange of TextInput

@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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (7,084)