cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CarloPrincipe
Level: Powered On

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

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
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

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