when does ValueChanged on TextInput fire?

Hey, just for reference: Fuse pre-release on OSX.

I was playing around with a <TextInput ValueChanged="{someFunction}" />.

While I’m on a page where I have my TextInput, entering some value in it triggers the callback function on every keypress, which is perfectly fine.

But, when I router.goBack() from that page where I had the TextInput until the router releases it (2 pages away, to be exact), the someFunction callback gets fired one last time, with empty string in its args.value property.

I was wondering if this was an expected behavior?


This is the expected behavior and happens because the value is reset when the control is unrooted.