How to use updatedTargetValue?

I’m referring to the following Note:
"When using the target to get the value of a text input or text box in an onKeyPress event handler, you may receive the value of the element before the key was pressed. To get the text input or text box’s updated value, use the updatedTargetValue property of the event handler’s event parameter. "
Please , could somebody provide an example how to use the updatedTargetValue property ?
Thanks,

hi Leonid,

This note was added by mistake and will be removed soon.
Apologies for the confusion.

See this video for a workaround for getting the updated value.

Thanks Ido,
The attached video describes the workaround for the updatedTargetValue issue.
Regards,