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!
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.
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.
@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
@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."
WarrenBelz
146,776
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,093
Most Valuable Professional