
Introduction
Modern controls have made canvas apps more beautiful by default. While there have been a few things about them that aren't great (like missing properties when compared to classic controls), things have been improving with time. A recent round of updates have came out to a bunch of modern controls. In this post, we will review changes to the modern text input control.
Changes to modern text input control
The biggest change to the modern text input control is that the OnChange will now trigger only on focus out even though there are 3 different values for trigger output.
I am doing to share a quick demo of how the 3 different trigger outputs behave. Notice how in all of the 3 cases, the OnChange gets triggered only on focus out.
The setup for this demo:
- There is a text input control
- A label will show the value of the text input control i.e. the text written in the text input control
- The OnChange of the text input control will toggle a variable from a true to false or from false to true
- Another label will show the value of this variable
Demo with Trigger Output set to Focus Out:

Demo with Trigger Output set to Delayed:

Demo with Trigger Output set to Key Press:
